https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107134
--- Comment #6 from CVS Commits ---
The master branch has been updated by Jonathan Wakely :
https://gcc.gnu.org/g:7cdab65f3d770345903023f357b6ca96bc85a002
commit r13-3059-g7cdab65f3d770345903023f357b6ca96bc85a002
Author: Jonathan Wakely
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107134
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107134
--- Comment #4 from Jonathan Wakely ---
Oh it's not libstdc++'s one, it's GCC's one.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107134
--- Comment #3 from Jonathan Wakely ---
(In reply to cqwrteur from comment #0)
> x86_64-elf-g++ -c b.cc -std=c++23
> In file included from
> /home/cqwrteur/toolchains/native/x86_64-elf/x86_64-elf/include/c++/13.0.0/
> cstdint:41,
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107134
--- Comment #2 from Jonathan Wakely ---
Although we could do:
#if ! _GLIBCXX_HOSTED
#include
#else
#include_next
#endif
to make it work.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107134
--- Comment #1 from Jonathan Wakely ---
With current trunk, you need to use -ffreestanding if you are compiling for
freestanding.
--without-headers --disable-hosted-libstdcxx says to build a freestanding
library, that doesn't tell the