https://issues.dlang.org/show_bug.cgi?id=24132

--- Comment #3 from Walter Bright <[email protected]> ---
C11 defines char32_t as uint_least32_t, which is specified to be a typedef, not
a macro or a keyword.

Preprocessors usually key off the existence of __cplusplus to turn C++
semantics on and off. ImportC currently does not do that.

I suggest putting:

     typedef wchar_t unsigned short;

in your copy of importc.h and see how far that gets?

--

Reply via email to