public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r12-10232] libstdc++: Fix unconditional -Werror in libbacktrace directory
Date: Mon, 18 Mar 2024 14:04:18 +0000 (GMT)	[thread overview]
Message-ID: <20240318140418.1F12F3858417@sourceware.org> (raw)

https://gcc.gnu.org/g:02a64d50d7780184428630e748fc301cb04ef96b

commit r12-10232-g02a64d50d7780184428630e748fc301cb04ef96b
Author: Alexey Lapshin <alexey.lapshin@espressif.com>
Date:   Fri Sep 8 11:23:16 2023 +0100

    libstdc++: Fix unconditional -Werror in libbacktrace directory
    
    The -Werror flag should depend on the --enable-werror configure option.
    
    libstdc++-v3/ChangeLog:
    
            * src/libbacktrace/Makefile.am: Remove -Werror.
            * src/libbacktrace/Makefile.in: Regenerate.
    
    (cherry picked from commit 1a0c6decd2112267c88438466df2e1c46b20248e)

Diff:
---
 libstdc++-v3/src/libbacktrace/Makefile.am | 2 +-
 libstdc++-v3/src/libbacktrace/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/src/libbacktrace/Makefile.am b/libstdc++-v3/src/libbacktrace/Makefile.am
index d8221c2c65a..94bbdb88b52 100644
--- a/libstdc++-v3/src/libbacktrace/Makefile.am
+++ b/libstdc++-v3/src/libbacktrace/Makefile.am
@@ -45,7 +45,7 @@ libstdc___libbacktrace_la_CPPFLAGS = \
 	$(BACKTRACE_CPPFLAGS)
 
 WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \
-	     -Wcast-qual -Werror
+	     -Wcast-qual
 C_WARN_FLAGS = $(WARN_FLAGS) -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wno-unused-but-set-variable
 CXX_WARN_FLAGS = $(WARN_FLAGS) -Wno-unused-parameter
 AM_CFLAGS = \
diff --git a/libstdc++-v3/src/libbacktrace/Makefile.in b/libstdc++-v3/src/libbacktrace/Makefile.in
index a7eb4d69cde..ad4fe7ae4a8 100644
--- a/libstdc++-v3/src/libbacktrace/Makefile.in
+++ b/libstdc++-v3/src/libbacktrace/Makefile.in
@@ -368,7 +368,7 @@ VTV_CXXFLAGS = @VTV_CXXFLAGS@
 VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
 VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
 WARN_FLAGS = -W -Wall -Wwrite-strings -Wmissing-format-attribute \
-	     -Wcast-qual -Werror
+	     -Wcast-qual
 
 XMLCATALOG = @XMLCATALOG@
 XMLLINT = @XMLLINT@

                 reply	other threads:[~2024-03-18 14:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20240318140418.1F12F3858417@sourceware.org \
    --to=redi@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@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).