https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
--- Comment #11 from Arsen Arsenović ---
could be implemented in libstdc++ when no libc impl is present
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
--- Comment #10 from cqwrteur ---
also. how do deal with other headers. like cstdlib which C++26 requires qsort
to be freestanding.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
--- Comment #9 from Arsen Arsenović ---
(In reply to cqwrteur from comment #6)
> if someone writes an operating system or libc,he can ensure the abi being
> the same.
that's a job of theirs. they can and should add OS defines for their OS.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
Christopher Di Bella changed:
What|Removed |Added
CC||cjdb.ns at gmail dot com
--- Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
--- Comment #7 from cqwrteur ---
(In reply to Arsen Arsenović from comment #5)
> C does not have a freestanding error.h, indeed.
>
> We were considering making up some numbers in a high-up range so that we can
> provide some non-OS-provided err
uesday, January 9, 2024 7:18:46 AM
To: unlv...@live.com
Subject: [Bug libstdc++/113283] missing C++26 freestanding headers.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
Arsen Arsenović changed:
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
Arsen Arsenović changed:
What|Removed |Added
CC||arsen at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
--- Comment #4 from cqwrteur ---
Created attachment 57012
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57012&action=edit
Proposed errno numbers
These numbers come from Linux Kernel Headers and redhat Newlib-Cygwin.
I guess these number
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
--- Comment #3 from cqwrteur ---
I do not see errno.h in freestanding C. Am i correct?
Should compiler provide an errno.h?
https://en.cppreference.com/w/c/language/conformance
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
--- Comment #2 from cqwrteur ---
(In reply to Jonathan Wakely from comment #1)
> We can just make up our own numbers, since we won't be getting errno values
> from the OS.
i would like to make libcxx to have the same numbers as libstdc++.
My p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113283
Jonathan Wakely changed:
What|Removed |Added
Blocks||110339
--- Comment #1 from Jonathan W
12 matches
Mail list logo