This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]