Package: dpkg Version: 1.19.7 Severity: normal Dear Maintainer,
I use dpkg-buildflags in my continuous integration script, to make sure my software (rdfind, available in debian) will build ok when the official rdfind package is built. I count the warnings during build, and error out if it is nonzero. This works fine in buster. This will however fail with g++-9, which warns when using -Werror=implicit-function-declaration on C++ programs. To reproduce: export DEB_BUILD_MAINT_OPTIONS="qa=+all" touch empty.cpp g++-9 $(dpkg-buildflags --get CXXFLAGS) -c empty.cpp # outputs a warning from g++ Reading the manpage for dpkg-buildflags, it says CXXFLAGS is the same as CFLAGS. I think that is unfortunate. I would expect CXXFLAGS to be C++ specific. Thanks, Paul -- Package-specific info: System tainted due to merged-usr-via-symlinks. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8), LANGUAGE=sv_SE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dpkg depends on: ii libbz2-1.0 1.0.6-9.2 ii libc6 2.28-10 ii liblzma5 5.2.4-1+b1 ii libselinux1 2.9-2+b2 ii tar 1.30+dfsg-6+b1 ii zlib1g 1:1.2.11.dfsg-1+b1 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 1.8.3 pn debsig-verify <none> -- no debconf information