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]

Re: non-c89 code in bitmap.c


On Sat, 23 Jun 2001, Neil Booth wrote:

> I've wondered for a while whether to get CPP to warn about this with
> -pedantic for pre-C99.  I've refrained because I think we can get too
> heavy with these warnings, and I've not yet come across a compiler
> that refuses empty arguments.  I imagine you have?

One day (before gnu99 becomes the default) we'll need a -Wc89 option, by
analogy with -Wtraditional, to warn about differences between C89 and C99
- both those covered under -std=c89 -pedantic, and maybe some more as
well.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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