From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 263B5158094 for ; Fri, 19 Aug 2022 00:09:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F507E086F; Fri, 19 Aug 2022 00:09:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FA5DE086F for ; Fri, 19 Aug 2022 00:09:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 866493415BF for ; Fri, 19 Aug 2022 00:09:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBA4D568 for ; Fri, 19 Aug 2022 00:09:08 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1660867654.87deddd57a3259875d524138aeadd297d7b660c7.sam@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/install-qa-check.d/ X-VCS-Repository: proj/portage X-VCS-Files: bin/install-qa-check.d/90gcc-warnings X-VCS-Directories: bin/install-qa-check.d/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 87deddd57a3259875d524138aeadd297d7b660c7 X-VCS-Branch: master Date: Fri, 19 Aug 2022 00:09:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9bdc6a8b-14e8-4801-b991-032f3f0b4514 X-Archives-Hash: 66743f57ffe4206dd9f164ace3c80886 commit: 87deddd57a3259875d524138aeadd297d7b660c7 Author: genBTC gmx com> AuthorDate: Sun May 22 22:04:11 2022 +0000 Commit: Sam James gentoo 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 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'