Hi Gary,
I only see a Windows download. But I managed to compile this from
source. When I ran it on Cloudy, I got lots of this
<error file="atom_fe2ovr.cpp" line="0" id="toomanyconfigs"
severity="style" msg="Interrupted checking because of too many #ifdef
configurations."/>
So I cranked up the maximum in lib/settings.cpp
--- settings.cpp~ 2012-06-30 18:10:27.000000000 +0200
+++ settings.cpp 2012-08-21 09:52:27.662819947 +0200
@@ -36,7 +36,7 @@
_jobs(1),
_exitCode(0),
_showtime(0),
- _maxConfigs(12),
+ _maxConfigs(100),
reportProgress(false),
checkConfiguration(false)
{
Now it runs to completion. But so far I have not been able to get many
messages out. I guess I need to do some manual reading... Normally you
can't shut these lints up, but this one is clearly different...
Gary, what flags did you use? Even with cppcheck --enable=all I get very
little output.
% cppcheck --enable=all ~/c_sources/cloudy/source/ | & egrep -v
'Checking /home/pvh/c_sources/cloudy/source|files checked'
[/home/pvh/c_sources/cloudy/source/compiler_tests/test42.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test43.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test44.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test45.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test46.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test52.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test54.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test56.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test58.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test63.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test65.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test66.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test73.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test74.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test75.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test76.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test77.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test86.cpp:5]: (style)
Variable 'p' is assigned a value that is never used
Checking usage of global functions..
[/home/pvh/c_sources/cloudy/source/sys_gcc_shared/cloudy_lua.cpp:47]:
(style) The function 'luaopen_cloudy' is never used
[/home/pvh/c_sources/cloudy/source/compiler_tests/test01.cpp:3]: (style)
The function 'test' is never used
<error id="missingInclude" severity="style" msg="Cppcheck cannot find
all the include files (use --check-config for details)"/>
Cheers,
Peter.
--
Peter van Hoof
Royal Observatory of Belgium
Ringlaan 3
1180 Brussel
Belgium
http://homepage.oma.be/pvh