diff options
| author | Lenard Mollenkopf <glibc@lenardmollenkopf.de> | 2024-10-22 15:17:54 +0200 |
|---|---|---|
| committer | Joseph Myers <josmyers@redhat.com> | 2024-11-04 22:40:55 +0000 |
| commit | e442e8376dcb14c904523c78994157cb5b502ff1 (patch) | |
| tree | f14f7bbecd2c80b7614022a048d371ccc62ca38d /NEWS | |
| parent | 2843e78b30da0aa743fdfb0ac61435c925182c04 (diff) | |
| download | glibc-e442e8376dcb14c904523c78994157cb5b502ff1.tar.xz glibc-e442e8376dcb14c904523c78994157cb5b502ff1.zip | |
Add feature test macro _ISOC2Y_SOURCE
This patch starts preparation for C2Y support in glibc headers by
adding a feature test macro _ISOC2Y_SOURCE and corresponding
__GLIBC_USE (ISOC2Y). (I mostly copied the work of Joseph Myers
for C2X). As with other such macros, C2Y features are also
enabled by compiling for a standard newer than C23, or by using
_GNU_SOURCE.
This patch does not itself enable anything new in the headers for C2Y;
that is to be done in followup patches. (For example an implementation
of WG14 N3349.)
Once C2Y becomes an actual standard we'll presumably move to using the
actual year in the feature test macro and __GLIBC_USE, with some
period when both macro spellings are accepted, as was done with
_ISOC2X_SOURCE.
Tested for x86_64.
Signed-off-by: Lenard Mollenkopf <glibc@lenardmollenkopf.de>
Diffstat (limited to 'NEWS')
| -rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -31,6 +31,13 @@ Major new features: * The iconv program now supports converting files in place. The program automatically uses a temporary file if required. +* The GNU C Library now supports a feature test macro _ISOC2Y_SOURCE to + enable features from the draft ISO C2Y standard. Only some features from + this draft standard are supported by the GNU C Library, and as the draft + is under active development, the set of features enabled by this macro is + liable to change. Features from C2Y are also enabled by _GNU_SOURCE, or + by compiling with "gcc -std=gnu2y". + Deprecated and removed features, and other changes affecting compatibility: * The big-endian ARC port (arceb-linux-gnu) has been removed. |
