newlib/libc/include/sys/features.h: Cygwin Unicode level

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

newlib/libc/include/sys/features.h: Cygwin Unicode level

Brian Inglis
Should the Unicode version setting of Cygwin feature macro __STDC_ISO_10646__ at
the tail of {newlib/libc,/usr}/include/sys/features.h be updated to reflect
Thomas Wolff's and any subsequent updates of the encoding tables to Unicode
version 10/11/12:

        Unicode Release Dates
Version Year Month (Day) Value
12.1.0 2019 May 7 201905L
12.0.0 2019 March 5 201903L
11.0.0 2018 June 5 201806L
10.0.0 2017 June 20 201706L

$ tail {newlib/libc,/usr}/include/sys/features.h
/* The value corresponds to UNICODE version 5.2, which is the current
   state of newlib's wide char conversion functions. */
#define __STDC_ISO_10646__ 200910L

#endif /* __CYGWIN__ */

#ifdef __cplusplus
}
#endif
#endif /* _SYS_FEATURES_H */
...

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
Reply | Threaded
Open this post in threaded view
|

Re: newlib/libc/include/sys/features.h: Cygwin Unicode level

Corinna Vinschen-2
On Nov 23 08:09, Brian Inglis wrote:
> Should the Unicode version setting of Cygwin feature macro __STDC_ISO_10646__ at
> the tail of {newlib/libc,/usr}/include/sys/features.h be updated to reflect
> Thomas Wolff's and any subsequent updates of the encoding tables to Unicode
> version 10/11/12:

Sure, please go ahead!


Thanks,
Corinna

--
Corinna Vinschen
Cygwin Maintainer

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

[PATCH] newlib/libc/include/sys/features.h: update __STDC_ISO_10646__

Brian Inglis
newlib wide char conversion functions were updated to
Unicode 11 on 2019-01-12
update standard symbol __STDC_ISO_10646__ to
Unicode 11 release date 2018-06-05 for Cygwin
---
 newlib/libc/include/sys/features.h | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index f28dd071b..218807178 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -521,9 +521,13 @@ extern "C" {
 /* #define _XOPEN_UNIX    -1 */
 #endif /* __XSI_VISIBLE */
 
-/* The value corresponds to UNICODE version 5.2, which is the current
-   state of newlib's wide char conversion functions. */
-#define __STDC_ISO_10646__ 200910L
+/*
+ * newlib's wide char conversion functions were updated on
+ * 2019-01-12
+ * to UNICODE version:
+ * 11.0.0 released 2018-06-05
+ */
+#define __STDC_ISO_10646__ 201806L
 
 #endif /* __CYGWIN__ */
 
--
2.21.0

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] newlib/libc/include/sys/features.h: update __STDC_ISO_10646__

Corinna Vinschen-2
On Nov 26 08:34, Brian Inglis wrote:

> newlib wide char conversion functions were updated to
> Unicode 11 on 2019-01-12
> update standard symbol __STDC_ISO_10646__ to
> Unicode 11 release date 2018-06-05 for Cygwin
> ---
>  newlib/libc/include/sys/features.h | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
> index f28dd071b..218807178 100644
> --- a/newlib/libc/include/sys/features.h
> +++ b/newlib/libc/include/sys/features.h
> @@ -521,9 +521,13 @@ extern "C" {
>  /* #define _XOPEN_UNIX    -1 */
>  #endif /* __XSI_VISIBLE */
>  
> -/* The value corresponds to UNICODE version 5.2, which is the current
> -   state of newlib's wide char conversion functions. */
> -#define __STDC_ISO_10646__ 200910L
> +/*
> + * newlib's wide char conversion functions were updated on
> + * 2019-01-12
> + * to UNICODE version:
> + * 11.0.0 released 2018-06-05
> + */
> +#define __STDC_ISO_10646__ 201806L
>  
>  #endif /* __CYGWIN__ */
>  
> --
> 2.21.0
Pushed.


Thanks,
Corinna

--
Corinna Vinschen
Cygwin Maintainer

signature.asc (849 bytes) Download Attachment