Compilation error for negative constant on right side of an operation