Failure to build cvs HEAD 20040315 on sparc64-linux: No 64 bit integer typa available...

Ian Lance Taylor ian@wasabisystems.com
Tue Mar 16 16:42:00 GMT 2004


Andrew Cagney <cagney@gnu.org> writes:

> # error
> 
> not
> 
>   #error
> 
> apparently the "#" needs to be in the first column.

Not to my knowledge.  Using an indented #error is a trick to get K&R C
compilers to accept #error.  Without the indentation, a K&R C compiler
will be baffled by an unrecognized preprocessor directive (but will
fail if it tries to compile #error, giving the desired error, though
not the exact desired error message).  The indented #error will be
recognized by an ISO C compiler.

If you don't care about K&R C compilers, then you can do either.

Ian



More information about the Binutils mailing list