This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: non-literal format specifier nit
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: C++ PATCH: non-literal format specifier nit
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 24 Jan 2000 15:11:49 -0800
- Cc: egcs-patches at egcs dot cygnus dot com, jason at cygnus dot com
- Organization: CodeSourcery, LLC
- References: <200001242300.SAA26939@caip.rutgers.edu>
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