[cfe-commits] std::nullptr_t support in MS headers

Howard Hinnant hhinnant at apple.com
Fri Jun 22 19:29:55 PDT 2012


On Jun 22, 2012, at 10:23 PM, João Matos wrote:

> Updated patch with some minor fixes.
> 
> On Sat, Jun 23, 2012 at 2:49 AM, João Matos <ripzonetriton at gmail.com> wrote:
>> Ping.
>> 
>> On Wed, Jun 20, 2012 at 1:56 PM, João Matos <ripzonetriton at gmail.com> wrote:
>>> This patch defines nullptr_t in the standard namespace. MS does it in
>>> stddef.h, and some standard headers (<exception>, pulled by
>>> <iostream>) expect it to be there. This is needed for a simple C++
>>> hello world to be compiled in C++11 mode.
>>> 
>>> --
>>> João Matos
> <clang-MS-stddef2.patch>_______________________________________________

Thanks.  This looks fine to me.  I'm not a gatekeeper for lib/Headers/stddef.h.  But I recommend this patch with the proviso that other MS/clang developers like it.

Howard





More information about the cfe-commits mailing list