This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib and a couple others: squelch -pedantic warnings
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: cpplib and a couple others: squelch -pedantic warnings
- From: Jason Merrill <jason at cygnus dot com>
- Date: 03 May 2000 22:17:04 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20000503213744.E281@wolery.cumb.org>
>>>>> Zack Weinberg <zack@wolery.cumb.org> writes:
> This patch squelches about 200 -pedantic warnings in cpplib, and a
> couple others elsewhere.
Thanks a lot.
> I used inline functions for __GNUC__ && __OPTIMIZE__
I'd prefer to use them unconditionally, and make them static inline instead
of extern inline.
> Incidentally, as long as we're cranking up the warning level, could we
> turn on -Wwrite-strings?
Sounds good to me. I think Kaveh has already fixed most of the potential
warnings.
Jason