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 676B8158021 for ; Thu, 27 Oct 2022 23:37:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DE9EE0837; Thu, 27 Oct 2022 23:37:49 +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 734D1E0837 for ; Thu, 27 Oct 2022 23:37:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 46CC5340F61 for ; Thu, 27 Oct 2022 23:37:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8994862B for ; Thu, 27 Oct 2022 23:37:46 +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: <1666913863.eaf2868e99280cb6c57df528f63f98c6b4757ef6.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: eaf2868e99280cb6c57df528f63f98c6b4757ef6 X-VCS-Branch: master Date: Thu, 27 Oct 2022 23:37:46 +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: 54942bc5-66ca-4e30-ad3b-c80a61c2ea89 X-Archives-Hash: 97641eb32ec51ed2b507f103a3f30e16 commit: eaf2868e99280cb6c57df528f63f98c6b4757ef6 Author: Sam James gentoo org> AuthorDate: Thu Oct 27 23:37:43 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Oct 27 23:37:43 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=eaf2868e install-qa-check.d/90gcc-warnings: add -Wbuiltin-declaration-mismatch Closely related to -Wimplicit-function-declaration. It's a mistake to do this anyway, but it's particularly bad if it then inhibits further compiler diagnostics. Signed-off-by: Sam James gentoo.org> bin/install-qa-check.d/90gcc-warnings | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/install-qa-check.d/90gcc-warnings b/bin/install-qa-check.d/90gcc-warnings index 7a506d357..256e6918b 100644 --- a/bin/install-qa-check.d/90gcc-warnings +++ b/bin/install-qa-check.d/90gcc-warnings @@ -24,6 +24,7 @@ gcc_warn_check() { # with -Wall, goes in pair with -Wimplicit-function-declaration # but without -Wall, we need to assert for it alone 'warning: .*incompatible implicit declaration of built-in function' + 'warning: .*\[-Wbuiltin-declaration-mismatch\]' # 'is used uninitialized in this function' and some more 'warning: .*\[-Wuninitialized\]' # comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning