On Thu, May 2, 2013 at 1:52 PM, Rafael EspĂndola <[email protected]> wrote: > 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?
That typedef in stddef.h is guarded by an "#ifndef __cplusplus", so there should be no attempt to typedef the builtin. > LGTM if so. Thanks! r180918. - Hans > On 2 May 2013 06:30, Hans Wennborg <[email protected]> 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 [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
