]> git.ipfire.org Git - thirdparty/kea.git/commit
[#3930] Fix cppcheck after adoption of meson
authorAndrei Pavel <andrei@isc.org>
Thu, 19 Jun 2025 07:09:14 +0000 (10:09 +0300)
committerAndrei Pavel <andrei@isc.org>
Thu, 19 Jun 2025 07:09:14 +0000 (10:09 +0300)
commitda77749d06b04a0285b012318d206bf86f8b3488
tree21da4b952523fd821c6c35984b3ca94f2249c3be
parent5bfaef2d816b8d98a9ee8d44e4e49e3e76fe797f
[#3930] Fix cppcheck after adoption of meson

- Was running on build dir which had little to no sources.
- Use the compile_commands.json file provided by meson which enables
  cppcheck to know about compiler flags used in compilation.
- Make the cppcheck target write to cppcheck-result.xml which is
  expected in the cppcheck-htmlreport target.
- Add library=googletest so it correctly decodes gtest macros.
- Remove suppression list. A lot of the suppressions were fixed with
  proper use of cppcheck or are no longer reported.
meson.build
src/cppcheck-suppress.lst