public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH PING] build: add -Wconditionally-supported to strict_warn [PR64867]
Date: Mon, 12 Dec 2022 23:28:20 -0500	[thread overview]
Message-ID: <26f72cec-ff38-019b-b33e-2027e2cd445f@redhat.com> (raw)
In-Reply-To: <20221206132624.1051104-1-jason@redhat.com>

On 12/6/22 08:26, Jason Merrill wrote:
> Tested x86_64-pc-linux-gnu, OK for trunk?

Ping.

> -- 8< --
> 
> The PR (which isn't resolved by this commit) pointed out to me that GCC
> should build with -Wconditionally-supported to support bootstrapping with a
> C++11 compiler that makes different choices.
> 
> 	PR c++/64867
> 
> gcc/ChangeLog:
> 
> 	* configure.ac (strict_warn): Add -Wconditionally-supported.
> 	* configure: Regenerate.
> ---
>   gcc/configure.ac | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/configure.ac b/gcc/configure.ac
> index 7ca08726efa..12771fc292c 100644
> --- a/gcc/configure.ac
> +++ b/gcc/configure.ac
> @@ -580,7 +580,7 @@ ACX_PROG_CC_WARNING_OPTS(
>   	m4_quote(m4_do([-Wstrict-prototypes -Wmissing-prototypes ],
>   		       [])), [c_loose_warn])
>   ACX_PROG_CXX_WARNING_OPTS(
> -	m4_quote(m4_do([-Wmissing-format-attribute ],
> +	m4_quote(m4_do([-Wmissing-format-attribute ], [-Wconditionally-supported ],
>   		       [-Woverloaded-virtual])), [strict_warn])
>   ACX_PROG_CC_WARNING_OPTS(
>   	m4_quote(m4_do([-Wold-style-definition -Wc++-compat])), [c_strict_warn])
> 
> base-commit: d19aa6af6634b1e97f38431ad091f3b3f12baf2f


  reply	other threads:[~2022-12-13  4:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-06 13:26 [PATCH RFA] " Jason Merrill
2022-12-13  4:28 ` Jason Merrill [this message]
2022-12-17  0:52 ` Jeff Law
2022-12-19 20:46   ` Jason Merrill

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=26f72cec-ff38-019b-b33e-2027e2cd445f@redhat.com \
    --to=jason@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    /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).