This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/19165] (Natural) language independent error / warning classification
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2007 16:12:02 -0000
- Subject: [Bug other/19165] (Natural) language independent error / warning classification
- References: <bug-19165-6458@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from tromey at gcc dot gnu dot org 2007-01-22 16:12 -------
Some kind of machine-readable output is necessary for use by an IDE.
Eclipse can't translate the messages after they have been emitted by GCC.
So, it should run GCC in the user's locale.
However, then it would like to differentiate between warnings and errors.
There's no way to do that without knowing all the ways that GCC might
translate the words "warning" and "error" (running in a locale Eclipse
thinks it understands is not a good option because GCC may change its
choices of translation...). It would be friendlier if
GCC provided this information. XML, or anything machine-readable, would be
fine.
So, yes, this is a GCC bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165