This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21327] Libstdc++ would like another way to get some POSIX declarations that it currently gets via _GNU_SOURCE
- From: "jwakely.gcc at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 30 Oct 2017 13:41:13 +0000
- Subject: [Bug libc/21327] Libstdc++ would like another way to get some POSIX declarations that it currently gets via _GNU_SOURCE
- Auto-submitted: auto-generated
- References: <bug-21327-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21327
--- Comment #3 from Jonathan Wakely <jwakely.gcc at gmail dot com> ---
Also, C++11 and later require the POSIX Exxx error constants from <errno.h>:
The header <cerrno> is described in Table 43. Its contents are the same as the
POSIX header <errno.h>, except that errno shall be defined as a macro. [ Note:
The intent is to remain in close alignment with the POSIX standard. — end note
] A separate errno value shall be provided for each thread.
--
You are receiving this mail because:
You are on the CC list for the bug.