Joseph S. Myers - Re: PR26061 error and warning counts (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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] |
- From: "Joseph S. Myers"
- To: Manuel López-Ibáñez
- Cc: gcc-patches
- Date: Tue, 13 Feb 2007 23:27:56 +0000 (UTC)
- Subject: Re: PR26061 error and warning counts
- References: <6c33472e0702131459r65056fcv6e220e37761894b0@mail.gmail.com>
On Tue, 13 Feb 2007, Manuel L�pez-Ib��ez wrote:
2007-02-13 Manuel Lopez-Ibanez manu@gcc.gnu.org
PR middle-end/26061
- toplev.c (do_compile): Print error and warning counts.
A human readable message can't just be passed to fprintf like that, you need to arrange for it to be extracted for translation and translated into the user's language. Calling existing diagnostic functions does that, otherwise the string needs surrounding with _().
testsuite/
- lib/gnat.exp (prune_gnat_output): Prune error and warning counts.
- lib/prune.exp (prune_gcc_output): Likewise.
libstdc++-v3/testsuite/ (Where this Changelog goes???)
- lib/prune.exp (prune_g++_output): Prune error and warning counts.
libmudflap/testsuite/
- lib/libmudflap.exp (prune_gcc_output): Prune error and warning counts.
The fact that the testsuite needs adjusting like this illustrates the likelihood of breaking external tools (e.g. IDEs) that process GCC's output. This means this change to output should perhaps be off by default, with a new option to enable it people wanting this style can put in their Makefiles.
-- Joseph S. Myers joseph@codesourcery.com
- Follow-Ups:
- Re: PR26061 error and warning counts
* From: Ian Lance Taylor
- Re: PR26061 error and warning counts
- References:
- PR26061 error and warning counts
* From: Manuel López-Ibáñez
- PR26061 error and warning counts
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |