C++ PATCH to resolve LWG issue 1265

Paolo Carlini paolo.carlini@oracle.com
Fri Oct 25 10:40:00 GMT 2013


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.



More information about the Libstdc++ mailing list