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: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2007 16:51:36 -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 #18 from manu at gcc dot gnu dot org 2007-12-16 16:51 -------
Ismail,
I am pretty sure that this won't be accepted for GCC 4.3, since it is not a
regression fix. Actually, I am unsure it would be accepted at all following the
comments to my original patch.
Nevertheless, if you want to take the risk of wasting your time, some advice:
* 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.
* 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 _()."
* 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."
Good luck!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26061