public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/19165] New: (Natural) language independent error / warning classification
@ 2004-12-27 14:22 walles at mailblocks dot com
  2004-12-27 14:29 ` [Bug other/19165] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: walles at mailblocks dot com @ 2004-12-27 14:22 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <bug-19165-6458@http.gcc.gnu.org/bugzilla/>]
[parent not found: <bug-19165-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2021-08-24  9:50 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-27 14:22 [Bug other/19165] New: (Natural) language independent error / warning classification walles at mailblocks dot com
2004-12-27 14:29 ` [Bug other/19165] " pinskia at gcc dot gnu dot org
2004-12-27 17:51 ` walles at mailblocks dot com
2005-03-29  1:46 ` pinskia at gcc dot gnu dot org
2005-03-29  8:04 ` walles at mailblocks dot com
2005-07-15 21:22 ` pinskia at gcc dot gnu dot org
     [not found] <bug-19165-6458@http.gcc.gnu.org/bugzilla/>
2005-10-23  6:47 ` tromey at gcc dot gnu dot org
2006-05-15 18:42 ` ttimo at idsoftware dot com
2007-01-22  8:59 ` manu at gcc dot gnu dot org
2007-01-22 16:12 ` tromey at gcc dot gnu dot org
2009-08-08 16:06 ` manu at gcc dot gnu dot org
2009-08-08 16:33 ` joseph at codesourcery dot com
2009-08-08 17:05 ` manu at gcc dot gnu dot org
     [not found] <bug-19165-4@http.gcc.gnu.org/bugzilla/>
2012-11-15 10:39 ` manu at gcc dot gnu.org
2012-11-15 15:32 ` clemens1509 at web dot de
2013-01-30 12:14 ` fuscated at gmail dot com
2013-01-30 18:19 ` manu at gcc dot gnu.org
2013-01-30 20:34 ` fuscated at gmail dot com
2013-03-27  0:59 ` manu at gcc dot gnu.org
2021-08-24  9:50 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).