This is the mail archive of the gcc-bugs@gcc.gnu.org mailing 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]

[Bug middle-end/26061] error and warning count



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]