From: Shiz <hi@shiz.me>
To: musl@lists.openwall.com
Subject: Re: [PATCH v2] configure: work around compilers that merely warn for unknown options
Date: Thu, 28 May 2015 11:24:42 +0200 [thread overview]
Message-ID: <76839E8E-9CE3-4E98-9F55-15160B6D6843@shiz.me> (raw)
In-Reply-To: <CAOS_Y6RBoK3m331Cq28Uvy1z0ptoJVE2_GMXx_cvhHGcvrd==A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 946 bytes --]
> On 28 May 2015, at 06:53, Rob Landley <rob@landley.net> wrote:
>
> https://github.com/landley/toybox/commit/a913d92bad65
>
> Specifically the bit about gcc 4.6 warning about the unknown
> -Wno-be-stupid _only_ if it was already producing another warning...
>
> Rob
I hadn’t, thanks. I’m unsure if there’s a clean way to integrate this
checking quirk in the configure script, since I’m 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’t there yet.
-S
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
prev parent reply other threads:[~2015-05-28 9:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 3:52 Shiz
2015-05-28 4:53 ` Rob Landley
2015-05-28 5:11 ` Rich Felker
2015-05-28 9:24 ` Shiz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76839E8E-9CE3-4E98-9F55-15160B6D6843@shiz.me \
--to=hi@shiz.me \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).