Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336554 - Codan shouldn't bother if the file is not under C/C++ project
Summary: Codan shouldn't bother if the file is not under C/C++ project
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-codan (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.0   Edit
Assignee: Elena Laskavaia CLA
QA Contact: Elena Laskavaia CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 14:00 EST by Andrew Gvozdev CLA
Modified: 2011-02-10 09:12 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gvozdev CLA 2011-02-07 14:00:16 EST
If a C++ file is located under project which is not CDT type it should not be checked for errors by Codan. I just copied a file aside into generic project and get hundreds of errors after opening the file. Java does not do that to you.
Comment 1 Elena Laskavaia CLA 2011-02-08 21:04:06 EST
added check for project nature in c ast reconsiler
Comment 2 CDT Genie CLA 2011-02-10 09:12:59 EST
*** cdt cvs genie on behalf of elaskavaia ***
Bug 336554 - Codan shouldn't bother if the file is not under C/C++ project

[*] CxxCodanReconciler.java 1.4 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/codan/org.eclipse.cdt.codan.core.cxx/src/org/eclipse/cdt/codan/core/cxx/internal/model/CxxCodanReconciler.java?root=Tools_Project&r1=1.3&r2=1.4