public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/gdb] gdb-17.2-rebase-f44: Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure
Date: Sun, 28 Jun 2026 00:00:29 GMT	[thread overview]
Message-ID: <178260482996.1.8085845362106391719.rpms-gdb-f7bcd3d6e012@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gdb
Branch : gdb-17.2-rebase-f44
Commit : f7bcd3d6e012764682203f5baedf3035fadb52ad
Author : Alexandra Hájková <ahajkova@redhat.com>
Date   : 2022-01-10T15:07:42+01:00
Stats  : +7/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gdb/c/f7bcd3d6e012764682203f5baedf3035fadb52ad?branch=gdb-17.2-rebase-f44

Log:
Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure

---
diff --git a/gdb.spec b/gdb.spec
index a477292..8547789 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -518,7 +518,7 @@ COMMON_GDB_CONFIGURE_FLAGS="\
 	--mandir=%{_mandir}					\
 	--infodir=%{_infodir}					\
 	--with-gdb-datadir=%{_datadir}/gdb			\
-	--enable-gdb-build-warnings=,-Wno-unused,-Wno-deprecated-declarations \
+	--enable-gdb-build-warnings=,-Wno-unused,-Wno-deprecated-declarations,-Wno-unused-function\
 	--enable-build-with-cxx					\
 %ifnarch %{ix86} alpha ppc s390 s390x x86_64 ppc64 ppc64le sparc sparcv9 sparc64 %{arm} aarch64
 	--disable-werror					\
@@ -526,7 +526,7 @@ COMMON_GDB_CONFIGURE_FLAGS="\
 	--enable-werror						\
 %endif
 	--with-separate-debug-dir=/usr/lib/debug		\
-	--disable-sim						\
+	--disable-sim			                	\
 	--disable-rpath						\
 	--without-stage1-ldflags				\
 	--disable-libmcheck					\
@@ -1144,6 +1144,11 @@ fi
 %endif
 
 %changelog
+* Mon Jan 10 2021 Alexandra Hájková - 11.1-8
+- Add -Wno-unused-function to --enable-gdb-build-warnings to prevent the build failure:
+  "../../gdb/c-exp.y:3455:1: error: 'void c_print_token(FILE*, int, YYSTYPE)'
+  defined but not used [-Werror=unused-function]"
+
 * Mon Jan 10 2022 Alexandra Hájková - 11.1-8
 - Backport upstream patch "gdb: add set/show commands for managing debuginfod"
   (RHBZ 2024875, Aaron Merey).

                 reply	other threads:[~2026-06-28  0:00 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=178260482996.1.8085845362106391719.rpms-gdb-f7bcd3d6e012@fedoraproject.org \
    --to=git-commits@fedoraproject.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