This PR implements a part of WG14 N2653:
- Define C23 char8_t
- Define C11 char16_t
- Define C11 char32_t
Missing goals are:
- The type of UTF-8 character literals is changed from unsigned char to
char8_t. (Since UTF-8 character literals already have type unsigned
char, this is not a semantic change).
- New mbrtoc8() and c8rtomb() functions declared in <uchar.h> enable
conversions between multibyte characters and UTF-8.
- A new ATOMIC_CHAR8_T_LOCK_FREE macro.
- A new atomic_char8_t typedef name.
35 lines
848 B
Plaintext
35 lines
848 B
Plaintext
set(TARGET_PUBLIC_HEADERS
|
|
libc.include.assert
|
|
libc.include.ctype
|
|
libc.include.errno
|
|
libc.include.features
|
|
libc.include.fenv
|
|
libc.include.float
|
|
libc.include.stdint
|
|
libc.include.inttypes
|
|
libc.include.limits
|
|
libc.include.math
|
|
libc.include.pthread
|
|
libc.include.signal
|
|
libc.include.stdckdint
|
|
libc.include.stdbit
|
|
libc.include.stdio
|
|
libc.include.stdlib
|
|
libc.include.string
|
|
libc.include.strings
|
|
libc.include.search
|
|
libc.include.sys_mman
|
|
libc.include.sys_socket
|
|
libc.include.sys_syscall
|
|
libc.include.sys_time
|
|
libc.include.threads
|
|
libc.include.time
|
|
libc.include.unistd
|
|
libc.include.wchar
|
|
libc.include.uchar
|
|
|
|
libc.include.sys_ioctl
|
|
# Disabled due to epoll_wait syscalls not being available on this platform.
|
|
# libc.include.sys_epoll
|
|
)
|