public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Report: __STDC_ISO_10646__ constant is out-of-date
@ 2020-10-10  3:02 John Scott
  2020-10-10  3:17 ` Carlos O'Donell
  0 siblings, 1 reply; 3+ messages in thread
From: John Scott @ 2020-10-10  3:02 UTC (permalink / raw)
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Report: __STDC_ISO_10646__ constant is out-of-date
  2020-10-10  3:02 Report: __STDC_ISO_10646__ constant is out-of-date John Scott
@ 2020-10-10  3:17 ` Carlos O'Donell
  2020-11-06  5:56   ` John Scott
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos O'Donell @ 2020-10-10  3:17 UTC (permalink / raw)
  To: John Scott, libc-alpha, Mike Fabian

On 10/9/20 11:02 PM, John Scott via Libc-alpha wrote:
> 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.

Thanks for the report.
 
>> /* 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
 
Mike,

Did we miss this when we update to 12 and 13?

-- 
Cheers,
Carlos.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Report: __STDC_ISO_10646__ constant is out-of-date
  2020-10-10  3:17 ` Carlos O'Donell
@ 2020-11-06  5:56   ` John Scott
  0 siblings, 0 replies; 3+ messages in thread
From: John Scott @ 2020-11-06  5:56 UTC (permalink / raw)
  To: libc-alpha, Mike Fabian

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

On Friday, October 9, 2020 11:17:02 PM EST Carlos O'Donell wrote:
> >> /* 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
>  
> Mike,
> 
> Did we miss this when we update to 12 and 13?

It seems to've not been fixed in git yet, so this is a just a reminder.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-06  5:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10  3:02 Report: __STDC_ISO_10646__ constant is out-of-date John Scott
2020-10-10  3:17 ` Carlos O'Donell
2020-11-06  5:56   ` John Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).