commit: 87deddd57a3259875d524138aeadd297d7b660c7 Author: genBTC <genBTC <AT> gmx <DOT> com> AuthorDate: Sun May 22 22:04:11 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Aug 19 00:07:34 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=87deddd5
install-qa-check.d/90gcc-warnings: add -Wincompatible-pointer-types, -Wclobbered They appear rarely enough that the additional noise should not be too much of a concern for QA, but of enough importance that it should be investigated and dealt with. Only a couple (~2) packages were flagged during inspecting my past build logs to test this commit. Closes: https://github.com/gentoo/portage/pull/833 Signed-off-by: Sam James <sam <AT> gentoo.org> bin/install-qa-check.d/90gcc-warnings | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/install-qa-check.d/90gcc-warnings b/bin/install-qa-check.d/90gcc-warnings index 52124427d..d118ce958 100644 --- a/bin/install-qa-check.d/90gcc-warnings +++ b/bin/install-qa-check.d/90gcc-warnings @@ -58,6 +58,11 @@ gcc_warn_check() { 'warning: .*\[-Wsizeof-pointer-memaccess\]' # iteration invokes undefined behavior 'warning: .*\[-Waggressive-loop-optimizations\]' + # conversion between pointers that have incompatible types + 'warning: .*\[-Wincompatible-pointer-types\]' + # clobbered: Warn for variables that might be changed by longjmp or vfork + # (This warning is also enabled by -Wextra.) + 'warning: .*\[-Wclobbered\]' # this may be valid code :/ #': warning: multi-character character constant'