This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26061] error and warning count
- From: "ismail at pardus dot org dot tr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2007 16:55:42 -0000
- Subject: [Bug middle-end/26061] error and warning count
- References: <bug-26061-12109@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from ismail at pardus dot org dot tr 2007-12-16 16:55 -------
Hi,
(In reply to comment #18)
> * My original patch modified several testsuite files:
> http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01190.html, I guess you would need
> something equivalent.
I added a flag to disable this to testsuite files (-fno-show-error-count)
> * Joseph pointed that:
> "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 _()."
True, I'll fix.
> * Also he suggested:
> "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."
I really don't want to make it default off as it's really useful. I hope to fix
the patch and make it default on for gcc 4.4 at least.
Thanks for the suggestions,
ismail
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26061