This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/19165] New: (Natural) language independent error / warning classification
- From: "walles at mailblocks dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Dec 2004 14:22:28 -0000
- Subject: [Bug other/19165] New: (Natural) language independent error / warning classification
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I've started looking at using the Eclipse CDT for my C development. One thing
the CDT does is parse the diagnostic messages printed by gcc.
To determine whether a message is an error or a warning, the CDT checks whether
the message starts with "warning:". If it does, it is considered a warning,
otherwise an error.
However, since I'm using a Swedish locale, my warning messages start with
"varning:" rather than "warning:", making the CDT heuristic fail.
I would like gcc to mark warnings and errors in a non-locale dependent way,
easily parseable by frontends such as the CDT.
I did read
http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Language-Independent-Options.html
and AFAICT there isn't currently any switch for making gcc classify its
diagnostic messages this way.
--
Summary: (Natural) language independent error / warning
classification
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: walles at mailblocks dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19165