Commit 77b3de44 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Friedemann Kleint
Browse files

MSVC: Detect C++11

MSVC enables C++11 features by default. Only the version matters

Change-Id: I5c0c27326a876c7755a7608692fb03b8798b5634
Reviewed-by: default avatarTobias Hunger <>
Reviewed-by: default avatarFriedemann Kleint <>
parent 777d8093
......@@ -98,7 +98,14 @@ QByteArray AbstractMsvcToolChain::predefinedMacros(const QStringList &cxxflags)
ToolChain::CompilerFlags AbstractMsvcToolChain::compilerFlags(const QStringList &cxxflags) const
return NO_FLAGS;
switch (m_abi.osFlavor()) {
case ProjectExplorer::Abi::WindowsMsvc2010Flavor:
case ProjectExplorer::Abi::WindowsMsvc2012Flavor:
return STD_CXX11;
return NO_FLAGS;
QList<HeaderPath> AbstractMsvcToolChain::systemHeaderPaths() const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment