diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-11-03 11:31:50 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-11-04 23:32:57 +0100 |
commit | 646f74937f00e508a5b25a003333569e907013d7 (patch) | |
tree | 9bfc901b7adcfde4e16763b53b5939e774d83d03 | |
parent | 2b054e6135cbce030a642157dc1345f9dd42950b (diff) | |
download | rockbox-646f74937f00e508a5b25a003333569e907013d7.tar.gz rockbox-646f74937f00e508a5b25a003333569e907013d7.zip |
Fix compiling with MSVC.
MSVC doesn't understand the gcc specific -Wno-unused-local-typedefs option.
Don't add it in this case.
Change-Id: I7ffb6c0c9c797eaad85975199c386020c464ca7b
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro index 00e0c87c8f..a0ff344fbb 100644 --- a/rbutil/rbutilqt/rbutilqt.pro +++ b/rbutil/rbutilqt/rbutilqt.pro | |||
@@ -156,7 +156,7 @@ dbg { | |||
156 | DEFINES += RBUTIL _LARGEFILE64_SOURCE CUTELOGGER_STATIC | 156 | DEFINES += RBUTIL _LARGEFILE64_SOURCE CUTELOGGER_STATIC |
157 | 157 | ||
158 | # check version of Qt installation | 158 | # check version of Qt installation |
159 | !contains(QT_MAJOR_VERSION, 5):!macx { | 159 | !contains(QT_MAJOR_VERSION, 5):!macx:!*-msvc* { |
160 | # suppress warnings in Qt 4.8 shown by gcc 4.8 | 160 | # suppress warnings in Qt 4.8 shown by gcc 4.8 |
161 | QMAKE_CXXFLAGS += -Wno-unused-local-typedefs | 161 | QMAKE_CXXFLAGS += -Wno-unused-local-typedefs |
162 | } | 162 | } |