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]
Other format: [Raw text]

Re: C++ PATCH to resolve LWG issue 1265


Hi,

On 10/23/2013 09:16 PM, Jason Merrill wrote:
The second hunk adds %X for printing an exception-specification in diagnostics.

In my experience these convenience %? that we have got easily trigger warnings during bootstrap/build, eg:

/scratch/Gcc/svn-dirs/trunk/gcc/cp/error.c:3302:53: warning: unknown conversion type character ‘R’ in format [-Wformat] /scratch/Gcc/svn-dirs/trunk/gcc/cp/error.c:3302:53: warning: too many arguments for format [-Wformat-extra-args]

I suppose we could do something about that...

Paolo.


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