You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.
Currently our code check script only runs cppcheck for files with extension .cc, but we have a number of inline and template function implementations given in header files (mostly .hh). These files should be checked as well.
The text was updated successfully, but these errors were encountered:
It is easy enough to enable checks for header files (1441bed in branch issue_907), but it generates a few false positives. Most of these are warnings that are easy to suppress (a14785b), but there is a false positive error from ServerFixtures.hh, that cannot be suppressed:
This is caused by cppcheck not being able to detect the language type based on the file extension (see cppcheck bug 4323). A workaround for this is to supply a --language=c++ command-line argument. This workaround requires cppcheck 1.57 and won't work on quantal (1.55) or earlier.
Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
Currently our code check script only runs cppcheck for files with extension
.cc
, but we have a number of inline and template function implementations given in header files (mostly.hh
). These files should be checked as well.The text was updated successfully, but these errors were encountered: