From: Bjarni Ingi Gislason <bjarniig@simnet.is>
To: bug-gnulib@gnu.org
Subject: module c-nullptr: error compiling groff
Date: Mon, 6 Feb 2023 00:22:59 +0000 [thread overview]
Message-ID: <Y+BIY5mIq21bR0Po@localhost> (raw)
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)
next reply other threads:[~2023-02-06 0:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-06 0:22 Bjarni Ingi Gislason [this message]
2023-02-06 3:27 ` module c-nullptr: error compiling groff Bruno Haible
2023-02-06 5:10 ` Paul Eggert
2023-02-06 11:13 ` Bruno Haible
2023-02-07 21:50 ` Bruno Haible
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
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y+BIY5mIq21bR0Po@localhost \
--to=bjarniig@simnet.is \
--cc=bug-gnulib@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).