Closed GoogleCodeExporter closed 8 years ago
The extension pc will never be checked by cppcheck itself. Just compare with
the file lib/path.cpp Path::acceptFile
(https://github.com/danmar/cppcheck/blob/master/lib/path.cpp#L209). Only the
extension listed there are supported, i.e.
cpp, cxx, cc, c++, tpp, txx, c. Please open an enhancement request at cppcheck
first (http://sourceforge.net/apps/trac/cppcheck/timeline) and link it here, if
you want to have support for the extension pc as well.
Original comment by konra...@gmx.de
on 16 Jul 2012 at 7:03
I know this has been closed as invalid but I believe that this is a defect.
cppcheck correctly analyses .pc (Pro*C) files out of the box via the command
line or via its GUI.
I can see that it is not listed in the extension list, a copy of the cppcheck
source was downloaded and this file extension was added to the list and
cppcheck was recompiled, the new cppcheck executable ran as expected outside of
eclipse on .cpp , .c and .pc files. When returning to eclispe and pointing the
plugin to the newly compiled executable it still did not analyse .pc files.
Original comment by priy...@gmail.com
on 21 Oct 2014 at 12:36
Original issue reported on code.google.com by
gsteinme...@googlemail.com
on 16 May 2012 at 9:56