summaryrefslogtreecommitdiffstats
path: root/qmake/generators/win32/msvc_vcproj.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-08-03 13:37:24 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-08-10 08:52:57 (GMT)
commitde6e55237263ea1b0426ffda9386cabba5739208 (patch)
tree210fbeaf42a225801c2f5cff2ed9be23df051f67 /qmake/generators/win32/msvc_vcproj.cpp
parent550bef106d54cd649764c320758da912fae4db3e (diff)
downloadQt-de6e55237263ea1b0426ffda9386cabba5739208.zip
Qt-de6e55237263ea1b0426ffda9386cabba5739208.tar.gz
Qt-de6e55237263ea1b0426ffda9386cabba5739208.tar.bz2
qmake: remove VS2003 work-around from vcxproj generator
This generator is VS2010 only. Reviewed-by: ossi
Diffstat (limited to 'qmake/generators/win32/msvc_vcproj.cpp')
-rw-r--r--qmake/generators/win32/msvc_vcproj.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/generators/win32/msvc_vcproj.cpp b/qmake/generators/win32/msvc_vcproj.cpp
index 01331b3..2f949ed 100644
--- a/qmake/generators/win32/msvc_vcproj.cpp
+++ b/qmake/generators/win32/msvc_vcproj.cpp
@@ -908,6 +908,7 @@ void VcprojGenerator::initCompilerTool()
conf.compiler.ForcedIncludeFiles = project->values("PRECOMPILED_HEADER");
// Minimal build option triggers an Internal Compiler Error
// when used in conjunction with /FI and /Yu, so remove it
+ // ### work-around for a VS 2003 bug. Move to some prf file or remove completely.
project->values("QMAKE_CFLAGS_DEBUG").removeAll("-Gm");
project->values("QMAKE_CFLAGS_DEBUG").removeAll("/Gm");
project->values("QMAKE_CXXFLAGS_DEBUG").removeAll("-Gm");