Report: __STDC_ISO_10646__ constant is out-of-date
John Scott
jscott@posteo.net
Sat Oct 10 03:02:00 GMT 2020
Hello,
I prefer to send my bug report here instead of registering on Bugzilla and
hope that's alright. I'm also not subscribed; please keep me CC'd.
I'm using glibc 2.30 on Debian GNU/Linux. 2.30 and 2.32 appear to have added
support for Unicode 12.1.0 and 13.0 respectively [1] [2], but stdc-
predef.h [3] even in git seems to lag behind reflecting these changes:
> /* wchar_t uses Unicode 10.0.0. Version 10.0 of the Unicode Standard is
> synchronized with ISO/IEC 10646:2017, fifth edition, plus
> the following additions from Amendment 1 to the fifth edition:
> - 56 emoji characters
> - 285 hentaigana
> - 3 additional Zanabazar Square characters */
> #define __STDC_ISO_10646__ 201706L
so in this way clients won't be able to know that it's supported. Except for
some possible discrepancy in Unicode Inc. and ISO/IEC's release dates,
suitable constants for 2.32 and 2.30 ought to be 202003L and 201905L
respectively [4].
Regards,
John
[1] https://sourceware.org/legacy-ml/libc-alpha/2019-08/msg00029.html
[2] https://sourceware.org/pipermail/libc-announce/2020/000029.html
[3] https://sourceware.org/git/?p=glibc.git;f=include/stdc-predef.h;hb=HEAD
[4] https://www.unicode.org/history/publicationdates.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20201009/b2c5afab/attachment.sig>
More information about the Libc-alpha
mailing list