This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 219235 - Listing of Compiler Error Messages inconsistent
Summary: Listing of Compiler Error Messages inconsistent
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2012-09-30 22:09 UTC by aschwarz1309
Modified: 2012-10-11 09:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (415.64 KB, text/plain)
2012-09-30 22:10 UTC, aschwarz1309
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aschwarz1309 2012-09-30 22:09:50 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.0-b11
gcc 4.5.3

The following (annotated) messages:

RED:  SlipHeader.h: In member function ‘virtual std::string slip::SlipHeader::toString()’:
BLUE: In file included from SlipSublist.cpp:12:0:
BLUE: SlipHeader.h:220:76: error: passing ‘const slip::SlipHeaderOp’ as ‘this’ argument of ‘virtual std::string slip::SlipHeaderOp::toString(slip::SlipCell&)’ discards qualifiers
RED:  SlipSublist.h: In member function ‘virtual std::string slip::SlipSublist::toString()’:
RED:  SlipSublist.h:143:78: error: passing ‘const slip::SlipSublistOp’ as ‘this’ argument of ‘virtual std::string slip::SlipSublistOp::toString(slip::SlipCell&)’ discards qualifiersnbproject/Makefile-Debug.mk:90: recipe for target `build/Debug/Cygwin_4.x-Windows/SlipSublist.o' failed

Should be:

RED:   SlipHeader.h: In member function ‘virtual std::string slip::SlipHeader::toString()’:
BLUE:  In file included from SlipSublist.cpp:12:0:
BLUE:  SlipHeader.h:220:76: error: passing ‘const slip::SlipHeaderOp’ as ‘this’ argument of ‘virtual std::string slip::SlipHeaderOp::toString(slip::SlipCell&)’ discards qualifiers
BLUE:   SlipSublist.h: In member function ‘virtual std::string slip::SlipSublist::toString()’:
BLUE:  SlipSublist.h:143:78: error: passing ‘const slip::SlipSublistOp’ as ‘this’ argument of ‘virtual std::string slip::SlipSublistOp::toString(slip::SlipCell&)’ discards qualifiers
GREY: nbproject/Makefile-Debug.mk:90: recipe for target `build/Debug/Cygwin_4.x-Windows/SlipSublist.o' failed

Where the following is of note:
[1] The 2nd RED should be a BLUE if it refers to or elaborates on the first (RED) error. I have listed it as BLUEin the 'Should be'  but this may be wrong.
[2] The GREY line is erroneously concatenated to the error line.
[3] A means should be provided to better display compiler output:
     a. Perhaps multiple lines with indentation.
Comment 1 aschwarz1309 2012-09-30 22:10:01 UTC
Created attachment 125124 [details]
IDE log
Comment 2 Leonid Lenyashin 2012-10-05 18:11:23 UTC
May be a P4
Comment 3 Alexander Simon 2012-10-11 09:39:31 UTC
Please provide full build log.
Or steps to reproduce issue.