Menu

Wildcard -D/-U parameter

Anonymous
2015-01-13
2015-01-16
  • Anonymous

    Anonymous - 2015-01-13

    We have dependencies to some big other projects with many possible configuration (e.g. boost). It is not necessary that CppCheck check all pathes in this projects, because mostly you have a fixed configuration. So wildcard expression would be nice. So you can use as example "-U BOOST_ -D BOOST_MSVC" to disable all defines, except special options. Only problematic: Sometimes it could be possible, that you need "-D BOOST_ -U BOOST_MSVC", so order of parameters should be respected.

     
  • Daniel Marjamäki

    hmm.. maybe.

    Can you please create a ticket in our issue tracker (http://trac.cppcheck.net/) so we don't forget this.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.