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

Reply via email to