Opened 7 years ago

Closed 7 years ago

#13954 closed bug (fixed)

Haiku doesn't support C11 uchar.h

Reported by: leorize Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/libroot.so Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Currently we're lacking C11 unicode characters support, which is required by ports that make use of the new C11 standard

Attachments (1)

0001-uchar-Introduce-C11-uchar.h.patch (1.6 KB ) - added by leorize 7 years ago.
[RFC] Implementation of C11 uchar.h for Haiku

Download all attachments as: .zip

Change History (7)

comment:1 by korli, 7 years ago

You mean on gcc5?

comment:2 by leorize, 7 years ago

Note that this implementation only do UTF-32 for now, and yes, it's permitted by the standard

by leorize, 7 years ago

[RFC] Implementation of C11 uchar.h for Haiku

comment:3 by korli, 7 years ago

char32_t and char16_t should be macros.

comment:4 by korli, 7 years ago

Seeing that nobody implements with macros, this might be good as is.

comment:5 by waddlesplash, 7 years ago

Submitted to Gerrit: https://review.haiku-os.org/c/29/

LGTM. Will merge tomorrow unless anyone else has comments.

comment:6 by waddlesplash, 7 years ago

Resolution: fixed
Status: newclosed

Merged in hrev51761.

Note: See TracTickets for help on using tickets.