Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2015-09-17 23:48:07 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:06:18 +0300
commit7d57ff62a8764f5f33be06a803f893ff3ccaf879 (patch)
tree65b2698bed6911af3e15e69f950034a7dcc43576 /common.pri
parent6f9364fa515df4b98a3c9bf724db8cad5766b591 (diff)
Supressed “Unused local typedef” warnings from boost library.
Diffstat (limited to 'common.pri')
-rw-r--r--common.pri10
1 files changed, 4 insertions, 6 deletions
diff --git a/common.pri b/common.pri
index c6fa2b1700..c3d0b77944 100644
--- a/common.pri
+++ b/common.pri
@@ -35,11 +35,6 @@ INCLUDEPATH *= $$ROOT_DIR/3party/glm
CONFIG *= c++11
-!win32* {
- QMAKE_CFLAGS *= -Wno-deprecated-register
- QMAKE_CXXFLAGS *= -Wno-deprecated-register
-}
-
# Automatically enable release config for production
CONFIG(production) {
CONFIG *= release
@@ -136,7 +131,10 @@ win32-msvc201* {
unix|win32-g++ {
LIBS *= -lz
QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter \
- -Werror=return-type
+ -Werror=return-type -Wno-deprecated-register
+ !android* {
+ QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-local-typedef
+ }
*-clang {
QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-conversion
}