This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to make diagnostic '+' flag generic
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 02 Jul 2005 05:41:48 +0200
- Subject: Re: Patch to make diagnostic '+' flag generic
- References: <Pine.LNX.4.61.0507020301230.21018@digraph.polyomino.org.uk>
"Joseph S. Myers" <joseph@codesourcery.com> writes:
| This patch makes the '+' diagnostic format flag (locate the diagnostic
| from a DECL being passed in anyway as a format argument), previously
| C++-specific, into a generic flag. In so doing, many uses of %J can
| be changed to use this flag and the functions cp_error_at /
| cp_warning_at / cp_pedwarn_at can be removed.
|
| Bootstrapped with no regressions on x86_64-unknown-linux-gnu. OK to
| commit?
Yes. Thanks,
-- Gaby