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

Lars Viklund zao at acc.umu.se
Mon Oct 28 16:45:24 PDT 2013


On Mon, Oct 28, 2013 at 08:59:22PM +0000, Richard Osborne wrote:
> 
> 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.

The analogous statement for VS2013 and its v120_xp holds as well. All
the (half-working) new C++11/14 features in 2013 are available when
targetting XP.

You might have been conflating it with the old WSDK and WDK, which
bundled its own compilers.

-- 
Lars Viklund | zao at acc.umu.se



More information about the cfe-dev mailing list