Skip to main content



      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 08:23 Go to next message
Eclipse UserFriend
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 12:36 Go to previous message
Eclipse UserFriend
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: Wed Jul 30 15:27:25 EDT 2025

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

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

Back to the top