From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 3FDC11F910 for ; Tue, 15 Nov 2022 13:36:01 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouw5N-0006He-Q4; Tue, 15 Nov 2022 08:34:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouw5L-0006Gp-Qb; Tue, 15 Nov 2022 08:34:43 -0500 Received: from woodpecker.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ouw5J-0004IE-DO; Tue, 15 Nov 2022 08:34:43 -0500 Content-Type: multipart/signed; boundary="Apple-Mail=_8D71FAA6-679A-4891-85AB-FFEBEAEB0C7F"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: How can Autoconf help with the transition to stricter compilation defaults? From: Sam James In-Reply-To: <3663e96a-dab0-4b07-848c-6c662637dad1@app.fastmail.com> Date: Tue, 15 Nov 2022 13:34:20 +0000 Cc: Paul Eggert , Aaron Ballman , c-std-porting@lists.linux.dev, Autoconf Development , GCC Development , Gnulib bugs Message-Id: References: <24ed5604-305a-4343-a1b6-a789e4723849@app.fastmail.com> <251923e7-57be-1611-be10-49c3067adf0d@cs.ucla.edu> <7ef0ce03-d908-649a-a6ee-89fea374d2b1@cs.ucla.edu> <35EC0D15-150F-4325-8FC9-F31E963B328F@gentoo.org> <3663e96a-dab0-4b07-848c-6c662637dad1@app.fastmail.com> To: Zack Weinberg X-Mailer: Apple Mail (2.3731.200.110.1.12) Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=sam@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org --Apple-Mail=_8D71FAA6-679A-4891-85AB-FFEBEAEB0C7F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 15 Nov 2022, at 13:30, Zack Weinberg wrote: >=20 > On Tue, Nov 15, 2022, at 12:03 AM, Sam James wrote: >>> On 13 Nov 2022, at 00:43, Paul Eggert wrote: >>>=20 >>> Although there will be problems with people who run "./configure = CFLAGS=3D'-Werror'", that sort of usage has always been problematic and = unsupported by Autoconf, so we can simply continue to tell people "don't = do that". >>>=20 >>=20 >> Is there somewhere in the autoconf docs we actually say this? >>=20 >> I've seen a few instances of folks adding it themselves very >> early in their configure scripts (which is a pain for distros >> anyway) which then ends up affecting the rest. >=20 > It's mentioned in the NEWS entry for 2.70: = https://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS#n170 Thanks, sorry, I didn't think to check NEWS. This is good enough for me = to link folks to, anyway, for the time being. > Note that there have been bug reports for cases where running builds = with more warnings than configure uses (and I think also -Werror), means = that configure checks spuriously succeed (i.e. configure reports that = something is available, but then you get compiler errors on the code = that tries to use it). I can't remember any concrete examples right = now, though. I can totally imagine that, don't stress about the examples. --Apple-Mail=_8D71FAA6-679A-4891-85AB-FFEBEAEB0C7F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNQEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY3OVXV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kOCzAQDaTgsAPpimP0RXRoJVwysrSEGc3kwInU1xKWCScn48YwD41gvPbXgEFLQg zIDxwjbuwp47MzeOt4F586BdXDNjBQ== =pTev -----END PGP SIGNATURE----- --Apple-Mail=_8D71FAA6-679A-4891-85AB-FFEBEAEB0C7F--