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: cpplib and a couple others: squelch -pedantic warnings


>>>>> 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

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