[cfe-dev] [PATCH] Libc++ Windows fixes

Niklas Larsson metaniklas at gmail.com
Sun Oct 23 03:46:37 PDT 2011


>
> Yeah, indeed, <shrug> :). There are reports on the internet that decltype is
> buggy in MSVC 10. I'll see if I can try MSVC 11 (Developer preview) and see
> where that gets me.
>

I tried compiling it with that, got the same error message...

> For reference, the bug report submitted to MS is here (feel free to "upvote"
> it if you can ;-):
> https://connect.microsoft.com/VisualStudio/feedback/details/696201/template-c-11-code-being-rejected-although-it-is-correct
>
> I am now attempting to use MSVC based Clang, and it seems to work better, if
> I do this to CMAKE_CXX_FLAGS:
> -nostdinc -I"M:\Development\Source\libc++\include" -I"C:\Program Files
> (x86)\Microsoft Visual Studio 10.0\VC\include" -I"C:\Program Files\Microsoft
> SDKs\Windows\v7.1\Include"
>
> I'll run into a missing pthreads soon enough (although I can use on
> pthreads-win32 when it comes to that). More patches coming up (oh, yes,
> there are even more missing functions in Visual Studio headers, what a
> surprise!)
>
> Ruben
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>

-- Niklas



More information about the cfe-dev mailing list