C++ PATCH: non-literal format specifier nit

Mark Mitchell mark@codesourcery.com
Mon Jan 24 15:11:00 GMT 2000


  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


More information about the Gcc-patches mailing list