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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 368A2158020 for ; Wed, 9 Nov 2022 02:25:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A916FE0909; Wed, 9 Nov 2022 02:25:53 +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 91B2FE0909 for ; Wed, 9 Nov 2022 02:25:53 +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 3C10B33BF01 for ; Wed, 9 Nov 2022 02:25:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DB94721 for ; Wed, 9 Nov 2022 02:25:50 +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: <1667960745.40673d0184a695c5f92fd6b8d241db9697b234f4.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: 40673d0184a695c5f92fd6b8d241db9697b234f4 X-VCS-Branch: master Date: Wed, 9 Nov 2022 02:25:50 +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: 1bc25e99-3fb7-4ebf-aab0-c8796a309db5 X-Archives-Hash: f86512ef7aa5eb93faff7b189f7ea5ba commit: 40673d0184a695c5f92fd6b8d241db9697b234f4 Author: Sam James gentoo org> AuthorDate: Wed Nov 9 02:22:52 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 9 02:25:45 2022 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=40673d01 install-qa-check.d/90gcc-warnings: add -Wincompatible-function-pointer-types Clang 16 makes this fatal, but we're just going to warn on it here. We already have -Wincompatible-pointer-types anyway. Signed-off-by: Sam James gentoo.org> bin/install-qa-check.d/90gcc-warnings | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/install-qa-check.d/90gcc-warnings b/bin/install-qa-check.d/90gcc-warnings index d8bde18cb..403c19684 100644 --- a/bin/install-qa-check.d/90gcc-warnings +++ b/bin/install-qa-check.d/90gcc-warnings @@ -82,6 +82,8 @@ gcc_warn_check() { 'warning: .*\[-Waggressive-loop-optimizations\]' # conversion between pointers that have incompatible types 'warning: .*\[-Wincompatible-pointer-types\]' + # more specific form of -Wincompatible-pointer-types (Clang) + 'warning: .*\[-Wincompatible-function-pointer-types\]' # using wrong deallocator, e.g. using free() on object allocated using my_malloc() # when my_malloc() is annotated as needing my_free(). 'warning: .*\[-Wmismatched-dealloc\]'