[Patch] Add the __wchar_t type in MS-compatibility mode (PR15815)
Hans Wennborg
hans at chromium.org
Thu May 2 03:33:17 PDT 2013
On Tue, Apr 23, 2013 at 4:47 PM, Hans Wennborg <hans at chromium.org> wrote:
> On Tue, Apr 23, 2013 at 2:49 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> LGTM! This does raise a question for me about whether we properly
>> define _WCHAR_T_DEFINED and _NATIVE_WCHAR_T_DEFINED for wchar_t
>> inclusion...
>
> There's code to do this in InitPreprocessor.cpp. It doesn't seem to
> have any test though. I'll see if I can add one.
I've uploaded a patch to test this (and make stddef.h set it) at
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130429/078965.html
- Hans
More information about the cfe-commits
mailing list