[cfe-dev] [PATCH] Libc++ Windows fixes
Ruben Van Boxem
vanboxem.ruben at gmail.com
Sun Oct 23 10:51:04 PDT 2011
Op 23 okt. 2011 18:51 schreef "Per Lindén" <per.linden at lumai.se> het
> Not sure this is worth mentioning, but since error C2516 is defined as
> "The class is derived from a type name defined by a typedef statement.",
> so for example naively changing the second variant of common_type in the
> test case you posted to connect.microsoft.com to
> template <class _Tp>
> struct common_type<_Tp, void, void>
> _Tp && type;
> makes the test case compile under VS2010 for me. (probably breaking any
> intended functionality completely) In any case I get "error C2371:
> 'size_t' : redefinition; different basic types" from the test case, so
> maybe reducing it a bit can improve upon the miniscule chance of it
> being fixed...? You have my vote anyway.
I compiled for 64-bit, it's preprocessed source code, so that's the reason.
Anyhow, you're probably right. I'll try to reduce it more when I find the
Howard, is this (the start of) a viable workaround?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev