bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* module c-nullptr: error compiling groff
@ 2023-02-06  0:22 Bjarni Ingi Gislason
  2023-02-06  3:27 ` Bruno Haible
  0 siblings, 1 reply; 5+ messages in thread
From: Bjarni Ingi Gislason @ 2023-02-06  0:22 UTC (permalink / raw)
  To: bug-gnulib

Debian testing (bookworm/sid)

gcc (Debian 12.2.0-14) 12.2.0

GNU Make 4.4.0.90


[...]
  CXX      src/roff/troff/env.o
In file included from /usr/include/c++/12/bits/stl_bvector.h:61,
                 from /usr/include/c++/12/vector:65,
                 from ../src/roff/troff/charinfo.h:20,
                 from ../src/roff/troff/env.cpp:31:
/usr/include/c++/12/bits/functional_hash.h:273:12: error: redefinition of 'struct std::hash<long int>'
  273 |     struct hash<nullptr_t> : public __hash_base<size_t, nullptr_t>
      |            ^~~~~~~~~~~~~~~
/usr/include/c++/12/bits/functional_hash.h:157:3: note: previous definition of 'struct std::hash<long int>'
  157 |   _Cxx_hashtable_define_trivial_hash(long)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:10126: src/roff/troff/env.o] Error 1
make[1]: Leaving directory '/home/bg/git/groff/build'
make: *** [Makefile:6847: all] Error 2

modules in bootstrap.conf:

gnulib_modules="
    git-version-gen
    havelib
    manywarnings
    wcwidth
    fprintf-posix
    gen-header
    snprintf
    vsnprintf-posix
    warnings
  mkstemp
  fmod
  getcwd
  putenv
  strcase
  strerror
  strtol
  setlocale
  stdckdint
  assert
  assert-h
  idx
  string
  strings
  c-nullptr
 "
#  c-nullptr causes an error when compiling (5. Feb. 2023)



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

end of thread, other threads:[~2023-02-07 21:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06  0:22 module c-nullptr: error compiling groff Bjarni Ingi Gislason
2023-02-06  3:27 ` Bruno Haible
2023-02-06  5:10   ` Paul Eggert
2023-02-06 11:13     ` Bruno Haible
2023-02-07 21:50     ` Bruno Haible

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