Bug 78573 - VC error parser can't handle remarks
Summary: VC error parser can't handle remarks
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0.2   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 2.1   Edit
Assignee: Alain Magloire CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2004-11-12 18:26 EST by PalmSource Eclipse Bug Tracker CLA
Modified: 2008-06-18 18:58 EDT (History)
0 users

See Also:


Attachments
VCErrorParser.java patch (798 bytes, patch)
2004-11-12 19:17 EST, PalmSource Eclipse Bug Tracker CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PalmSource Eclipse Bug Tracker CLA 2004-11-12 18:26:40 EST
Remarks are often output by compilers using the VC format when warnings are 
set to high.  An example of one is:

  test.c(5): remark #1418: external definition with no prior declaration
    getdoc (char *docname) {
    ^

This should be treated as a warning, but the current VCErrorParser defaults it 
to an error.
Comment 1 Alain Magloire CLA 2004-11-12 18:53:00 EST
a patch handy ?
Comment 2 PalmSource Eclipse Bug Tracker CLA 2004-11-12 19:17:44 EST
Created attachment 15847 [details]
VCErrorParser.java patch

Adds the "remark" string as one to look for when determining if the error is a
warning or not.  Should treat remarks as warnings since they are generated with
a All Warnings warning level.
Comment 3 Alain Magloire CLA 2004-11-12 19:35:45 EST
Patch apply.

Thanks
Comment 4 Alain Magloire CLA 2004-11-12 19:36:03 EST
please verify. for 2.1