public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/28994] New: [build] Werror=deprecated-declarations for scm_install_gmp_memory_functions
@ 2022-03-23 14:12 vries at gcc dot gnu.org
  2022-04-15 13:39 ` [Bug guile/28994] " tromey at sourceware dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: vries at gcc dot gnu.org @ 2022-03-23 14:12 UTC (permalink / raw)
  To: gdb-prs

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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-07-08 14:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 14:12 [Bug build/28994] New: [build] Werror=deprecated-declarations for scm_install_gmp_memory_functions vries at gcc dot gnu.org
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

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).