This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: PR preprocessor/33305: Warn for empty macro arguments


On Fri, 13 Jun 2008, Andrew Haley wrote:

> +		     "in macro %s arg %d: "
> +		     "empty macro arguments are undefined in C89",

Such diagnostics in GCC conventionally say "ISO C90".  If compiling C++, 
it should say "ISO C++" instead.  (I have not checked whether the C++0x 
draft allows empty macro arguments; if so, "ISO C++98" would be the right 
thing to say for C++.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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