Bug 255294 - Issue compilation error on UI display.
Summary: Issue compilation error on UI display.
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 5.0.1   Edit
Hardware: PC Unix All
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 22:06 EST by anil_gm CLA
Modified: 2020-09-04 15:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anil_gm CLA 2008-11-13 22:06:16 EST
The UI keeps reporting the line having issues, even after correcting the same.

E.g.: If there is an compilation error (compiled using makefile - weird requirement for CDT to work), When the file is opened in CDT it shows the line having compilation error with red colored "X" and with red underline. It remains there even though that error is corrected and the file is saved (with same error message displayed), keeping user in dilemma whether the change is right or wrong...This is not true with the JAVA version, where it removes the error identifier/message...
Also the auto correction is more matured with JAVA version; but CDT is lot behind in that...at-least it should work for type casting which is very critical in C++.  I can see the error showing type mismatch but CDT doesn't do any auto-correction.
Comment 1 Markus Schorn CLA 2008-11-14 04:00:46 EST
not a parser issue, the markers of the build-output parser sometimes don't disappear.
Comment 2 Anton Leherbauer CLA 2008-11-14 04:50:47 EST
Note that errors and warnings reported from the compiler are only removed when the file is compiled again. You cannot expect them to be removed when just saving the file.
BTW, this is basically the same with JDT. If automatic build is disabled JDT behaves similar.
Comment 3 anil_gm CLA 2008-11-14 13:27:58 EST
Thats not true; i use JDT heavily with automatic build turned-off (reason i use the build script that is easier for me to invoke)....I can see the error message disappearing and in case if the code change is wrong, the auto correction listing the new suggestion....I don't have to compile the java files to see that...

Comment 4 anil_gm CLA 2008-11-14 13:30:05 EST
Why is it P3, as i know this (these kind of) feature in java-eclipse made it popular...To make the CDT popular, this smaller issues needs to be addressed first.