[Patch] Test and set wchar_t related macros in -fms-extensions mode
Rafael EspĂndola
rafael.espindola at gmail.com
Thu May 2 05:52:31 PDT 2013
The builtin and stddef.h types are compatible, right? That way, when
including stddef.h in ms c++ mode, the typedef
typedef __WCHAR_TYPE__ wchar_t;
is just a nop, correct?
LGTM if so.
On 2 May 2013 06:30, Hans Wennborg <hans at chromium.org> wrote:
> Hi all,
>
> The attached patch adds tests to check that we set the
> _WCHAR_T_DEFINED and _NATIVE_WCHAR_T_DEFINED macros correctly in
> -fms-extensions mode, and also teaches stddef.h to set the former when
> typedef'ing wchar_t.
>
> Please take a look!
>
> Thanks,
> Hans
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
More information about the cfe-commits
mailing list