cppcheck can't find even standard headers such as iostream. Any ideas?
I am using Ubuntu 11.04 and cppcheck from the repository.
cppcheck is really bad at finding standard include headers, on Mac and Linux. Fortunately, you can suppress this check, and only scan your custom header files:
cppcheck --enable=all --suppress=missingIncludeSystem .