Package: cppcheck Version: 2.9-1 Severity: normal Tags: upstream X-Debbugs-Cc: alx.manpa...@gmail.com
Dear maintainer, Similar to GCC's -isystem to specify a path to check for system headers, it would be very useful to tell cppcheck where to find system headers. I'm writing a library, whose headers include eachother using <> since it's intended to be used as a system library. However, for building (and linting) it, I need to tell the compiler (and linters) that the includes are not really system includes. Would you please add such an option? Thanks, Alex -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.0.0-5-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cppcheck depends on: ii libc6 2.36-6 ii libgcc-s1 12.2.0-10 ii libpcre3 2:8.39-14 ii libstdc++6 12.2.0-10 ii libtinyxml2-9 9.0.0+dfsg-3.1 ii python3 3.10.6-3 ii python3-pygments 2.13.0+dfsg-1 cppcheck recommends no packages. Versions of packages cppcheck suggests: ii clang 1:14.0-55.2+b1 ii clang-tidy 1:14.0-55.2+b1 pn cppcheck-gui <none> -- no debconf information