From: "Joseph S. Myers" <joseph@codesourcery.com>
To: Marek Polacek <polacek@redhat.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [C PATCH] Make -Wno-implicit-int work in C99 mode
Date: Fri, 17 Oct 2014 16:28:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.64.1410171620250.22473@digraph.polyomino.org.uk> (raw)
In-Reply-To: <20141017114706.GS10501@redhat.com>
On Fri, 17 Oct 2014, Marek Polacek wrote:
> C99 mode warns about defaulting to int by default, but without
> the possibility to suppress the warning with -Wno-implicit-int.
> This is likely to arouse the ire of the users, especially with
> the new default.
>
> Therefore the following patch tweaks warn_implicit_int in such
> a way that -Wimplicit and -Wimplicit-int should work as intended
> (following the rule that more specific option takes precedence
> over the less specific). There should be no changes in GNU89
> mode.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
OK.
--
Joseph S. Myers
joseph@codesourcery.com
prev parent reply other threads:[~2014-10-17 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-17 11:51 Marek Polacek
2014-10-17 16:28 ` Joseph S. Myers [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=Pine.LNX.4.64.1410171620250.22473@digraph.polyomino.org.uk \
--to=joseph@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=polacek@redhat.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).