This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++ PATCH to resolve LWG issue 1265
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 25 Oct 2013 12:39:58 +0200
- Subject: Re: C++ PATCH to resolve LWG issue 1265
- Authentication-results: sourceware.org; auth=none
- References: <52682073 dot 8030503 at redhat dot com>
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.