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: C++ PATCH: non-literal format specifier nit



  Here's a small C++ patch to eliminate one of the two remaining
  non-literal format specifier warnings.  Okay to install?

I'm afraid not -- this is bad for internationalization.

GCC is the only compiler I've ever worked with that has lots of
warnings, but no way to selectively disable them.  IMO, the right
solution to this warning is not a change to the C++ front-end, which
contains reasonable code, but to the warning mechanism itself.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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