Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Exclude files from Static Code Analysis (Codan)(How to exclude files from Static Code Analysis (Codan))
Exclude files from Static Code Analysis (Codan) [message #729525] Mon, 26 September 2011 12:23 Go to next message
markus.hossner is currently offline markus.hossnerFriend
Messages: 1
Registered: September 2011
Junior Member
Hello,

running the C/C++ code analysis I get a warning "No break at the end of case" for moc_qwt_counter.cpp in /qt/thirdparty/qwt/src/moc.

As I have no influence on this code I want to exclude this file from the static code analysis. How can I do this?

I tried "Customize Problem" from the context menu. In "Scope" I added the "Exclusion patterns":

moc_*
**/moc_*
qt/thirdparty/
qt/thirdparty/qwt/src/moc/moc_qwt_counter.cpp

But I still get the warning. How can I exclude this file? All moc_* files or all files in a path from the static code analysis?

Thanks

Markus








Re: Exclude files from Static Code Analysis (Codan) [message #764696 is a reply to message #729525] Mon, 12 December 2011 17:36 Go to previous message
Jami Bradley is currently offline Jami BradleyFriend
Messages: 1
Registered: December 2011
Junior Member
Is there any information on this? I am having exactly the same problems (in my own ThirdParty directory as well!) and I would love to turn these off.

Thanks

Jami
Previous Topic:EGit + CDT + mingw: Binary not found
Next Topic:debug - cannot find my process
Goto Forum:
  


Current Time: Fri Apr 26 05:35:20 GMT 2024

Powered by FUDForum. Page generated in 0.03082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top