This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Revision 2: Handle string constant initializers for array of char16_t or char32_t
On Tue, Apr 22, 2008 at 01:09:48PM -0400, Kris Van Hees wrote:
> According to the ISO/IEC JTC1 SC22 WG14 N1040 technical report for C (covering
> the new character data types for char16_t and char32_t), typedefs are
> introduced for char16_t and char32_t, which would imply that they are not
> fundamental types in C. On the other hand, ISO/IEC JTC1 SC22 WG21 N2249
> specifically identifies char16_t and char32_t as fundamental types in C++.
Wouldn't it be desirable to predefine __CHAR16_TYPE__ and __CHAR32_TYPE__
macros for C though, similarly how is c_stddef_cpp_builtins predefines
__WCHAR_TYPE__ or __SIZE_TYPE__?
Jakub