From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7807 Path: news.gmane.org!not-for-mail From: Shiz Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH v2] configure: work around compilers that merely warn for unknown options Date: Thu, 28 May 2015 11:24:42 +0200 Message-ID: <76839E8E-9CE3-4E98-9F55-15160B6D6843@shiz.me> References: <1432785142-8309-1-git-send-email-hi@shiz.me> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C70E7621-0C83-4804-AFCD-92498D9AA9A3"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Trace: ger.gmane.org 1432805126 8613 80.91.229.3 (28 May 2015 09:25:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2015 09:25:26 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7819-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 28 11:25:26 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Yxu44-0002N8-F6 for gllmg-musl@m.gmane.org; Thu, 28 May 2015 11:25:24 +0200 Original-Received: (qmail 15372 invoked by uid 550); 28 May 2015 09:25:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14324 invoked from network); 28 May 2015 09:25:21 -0000 X-Virus-Scanned: amavisd-new at shiz.me X-Pgp-Agent: GPGMail 2.5b6 In-Reply-To: X-Mailer: Apple Mail (2.2070.6) Xref: news.gmane.org gmane.linux.lib.musl.general:7807 Archived-At: --Apple-Mail=_C70E7621-0C83-4804-AFCD-92498D9AA9A3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 28 May 2015, at 06:53, Rob Landley wrote: >=20 > https://github.com/landley/toybox/commit/a913d92bad65 >=20 > Specifically the bit about gcc 4.6 warning about the unknown > -Wno-be-stupid _only_ if it was already producing another warning... >=20 > Rob I hadn=E2=80=99t, thanks. I=E2=80=99m unsure if there=E2=80=99s a clean = way to integrate this checking quirk in the configure script, since I=E2=80=99m not at all a = huge fan of searching command line output like that: for all you know it might say something like "-Wno-string-plus-int is going to be the default sometime in the future" (like Apple LLVM has been known to say for -Wunused-command-line-argument, coincidentally), and grepping for = specific error messages seems more finicky and/or prone to breakage than = anything. I suppose this is best handled if we happen to come across such a = problematic flag first: no need to optimise for cases that aren=E2=80=99t there yet. -S --Apple-Mail=_C70E7621-0C83-4804-AFCD-92498D9AA9A3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJVZt71AAoJEI8YjKeZk+kH7ycP/ibRbIwgW765DiJPVvPxunVI HD/742Cvejqj0Ugxeo157JtFqIbj9nrfTmoegPiZhM7Tv7W94W+VQyH89AU9Ix+z u0sAY+QF6ZLILU/+g5N+NKqeNowwWaLAv7Oxx+2IpZO3VpHCNvuqvNKNk9PjRpf3 ZjhiTX0DTChV8NUmA4aNI0lrn4oM4pD6KqLdaLdhknZzjftV/i2e22B1x63aNFca 1DIPRSYDvBtIV5vQhz/hamduv3IcnqaBS5XRluzvet7hWTdDKLvmxGBcqQp7U6NK hWVCDROZc/OUTpPNCeyyKqe3v8Ij3n+OWDxLbdFOs2Y4oFQKbPOErzuNIv16sQyy 3rdsRv66LQSDRvOrqTHD2UAFKIAanAVhE7VO24fGBfC9lsflFJ52ERLQx0AOLD1W TL/jtC3oH5PY5/jTAJoOx162AiZ/KbZRNFQW7Z2OLj8xXE1tCZsJNd9r0nFZzIDl xmii+MLM2mxqHyHjnXjnF3HS2M+ilL1C+wohr72cZySp+j7DIpKskPZEEN45O2Zz CTw5b7UoenpWSCLtJGVV3MW8mUS/UF+OeUM9y5ZJwTCzDRzcXz713NlwbOu8BlVq 9LcUwDV0vRY/KXPVcumrW757jUmF6g/w1nJbZNDM0zfl8ZvjyuUXm81dLIR8un/O 8b+B3paLqJZCXjVVm/Oy =DDrU -----END PGP SIGNATURE----- --Apple-Mail=_C70E7621-0C83-4804-AFCD-92498D9AA9A3--