Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321659 - Code analysis problems trigger a confirmation dialog when launching a program
Summary: Code analysis problems trigger a confirmation dialog when launching a program
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-codan (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Elena Laskavaia CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 19:07 EDT by Sergey Prigogin CLA
Modified: 2010-08-16 21:01 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 Sergey Prigogin CLA 2010-08-03 19:07:31 EDT
Existence of code analysis problems triggers a dialog that says: "Errors exist in a required project. Continue launch?".

I'm not sure if the platform allows some problem types to be exempt from the launch check, but it its current for this dialog is pretty annoying.
Comment 1 Elena Laskavaia CLA 2010-08-03 20:16:27 EDT
If it is a problem marker of type error that will trigger the dialog.
You can change them to be a Warning instead in preferences, 
but they won't be red. Are they false positives?
Comment 2 Sergey Prigogin CLA 2010-08-03 20:28:22 EDT
(In reply to comment #1)
> If it is a problem marker of type error that will trigger the dialog.
> You can change them to be a Warning instead in preferences, 
> but they won't be red. Are they false positives?

My code base utilizes a lot of generated include files. When these include files are out of date, it causes name resolution problems. Unfortunately, these name resolution problems often persist even after the include files are updated due to the scenario described in bug 319328.
Comment 3 Elena Laskavaia CLA 2010-08-03 20:30:20 EDT
If problems with includes are fixed you can "Select All" markers in Problems view and delete them as workaround.
Comment 4 Elena Laskavaia CLA 2010-08-16 21:01:03 EDT
Nothing I can do here unfortunately. If codan markers defined as Error this is
platform behavior. I will try to implement solution for bug 319328.