public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug build/28994] New: [build] Werror=deprecated-declarations for scm_install_gmp_memory_functions
Date: Wed, 23 Mar 2022 14:12:21 +0000	[thread overview]
Message-ID: <bug-28994-4717@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=28994

            Bug ID: 28994
           Summary: [build] Werror=deprecated-declarations for
                    scm_install_gmp_memory_functions
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

On openSUSE tumbleweed I run into:
...
/data/vries/gdb_versions/devel/src/gdb/guile/guile.c: In function 'void
gdbscm_initialize(const extension_language_defn*)':
/data/vries/gdb_versions/devel/src/gdb/guile/guile.c:676:5: error:
'scm_install_gmp_memory_functions' is deprecated
[-Werror=deprecated-declarations]
  676 |     scm_install_gmp_memory_functions = 0;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/guile/3.0/libguile.h:128,
                 from
/data/vries/gdb_versions/devel/src/gdb/guile/guile-internal.h:30,
                 from /data/vries/gdb_versions/devel/src/gdb/guile/guile.c:36:
/usr/include/guile/3.0/libguile/deprecated.h:164:20: note: declared here
  164 | SCM_DEPRECATED int scm_install_gmp_memory_functions;
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:1659: guile/guile.o] Error 1
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2022-03-23 14:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-23 14:12 vries at gcc dot gnu.org [this message]
2022-04-15 13:39 ` [Bug guile/28994] " tromey at sourceware dot org
2022-05-07 14:58 ` tromey at sourceware dot org
2022-05-08  6:37 ` vries at gcc dot gnu.org
2022-05-09  8:35 ` ludo at gnu dot org
2022-05-12 22:27 ` tromey at sourceware dot org
2022-07-06  8:02 ` vries at gcc dot gnu.org
2022-07-06 14:04 ` ludo at gnu dot org
2022-07-06 15:16 ` vries at gcc dot gnu.org
2022-07-07  7:59 ` vries at gcc dot gnu.org
2022-07-07 13:52 ` ludo at gnu dot org
2022-07-08 14:02 ` vries at gcc dot gnu.org

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=bug-28994-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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).