https://bugs.llvm.org/show_bug.cgi?id=42098

            Bug ID: 42098
           Summary: __CHAR16_TYPE__ and __CHAR32_TYPE__ are defined on
                    MacOS but they don't actually work
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

MacOS's SDK does not include the uchar.h header, and since these macros are
defined by the compiler the macro check doesn't work, breaking my code.

I filed a bug report with Apple about it, bug #51322492 but they don't seem to
care.

Example code to get the bug to appear:

#ifdef  __CHAR32_TYPE__
typedef   char32_t       UTF32;
#else
typedef   uint_least32_t UTF32;
#endif /* __CHAR32_TYPE__ */

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to