[cfe-dev] libc++ compilation fails due to _STD expanding to "::std:: "

Jonathan Sauer jonathan.sauer at gmx.de
Tue Jun 28 08:45:25 PDT 2011


Hello,

> Small correction with a bit more consequences: the _STD macro is used
> in Windows headers (both mingw-w64 and MSVC 10.0) making it very hard
> to keep using it for libc++.
> 
> Would adding another underscore be acceptable, or getting rid of it
> completely be an option?

Why not use _LIBCPP_STD, that should be unique? Or would that be too long?


Jonathan




More information about the cfe-dev mailing list