This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: non-c89 code in bitmap.c
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: non-c89 code in bitmap.c
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Sat, 23 Jun 2001 00:50:19 +0100 (BST)
- cc: <dalej at apple dot com>, <gcc-patches at gcc dot gnu dot org>
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