[cfe-dev] [LLVMdev] RFC: A proposal to move toward using C++11 features in LLVM & Clang / bounding support for old host compilers

Richard Osborne richard at xmos.com
Mon Oct 28 13:59:22 PDT 2013


On 28 Oct 2013, at 04:45, Dix Lorenz <lists at dix-lorenz.de> wrote:
> 
> I might be mistaken, but to compile for WinXP on VS 2012 you have to switch the Platform Toolset and AFAICT that means it will essentially be using the VS 2010 compiler and libraries. So when it comes to using newer C++ functionality you will still be stuck on the VS 2010 level even if you are using VS 2012 and if you are using any VS2012 improvements you will not be able to compile for XP.
> 
> Basically (again: AFAICT): if you want clang to be compiled for WinXP using VS, the C++ features of VS 2010 are a hard limit and that will not change.
> 
> Dix

>From http://msdn.microsoft.com/en-us/library/vstudio/jj851139.aspx:

"The Visual Studio 2012 - Windows XP (v110_xp) platform toolset that's included in Visual Studio 2012 Update 1 is a version of the Windows 7 SDK that was included in Visual Studio 2010, but it uses the Visual Studio 2012 C++ compiler”

As such all the C++11 language features of VS 2012 are, AFAIK, available when targeting XP.



More information about the cfe-dev mailing list