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@mapswithme.com>2014-08-26 20:22:28 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:25:41 +0300
commit6a100663c836f87463f4ec020fea91be96f5e802 (patch)
treec6b311fb4e9c4f2d9f2b6d1fb7d480c4091d0631 /common.pri
parent2938ec4daf2cfa00be382bb4797cb673e0da0f57 (diff)
[cpp11] Fixed warning on desktop
Diffstat (limited to 'common.pri')
-rw-r--r--common.pri5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.pri b/common.pri
index df59784cac..67aec29f3b 100644
--- a/common.pri
+++ b/common.pri
@@ -16,6 +16,11 @@ INCLUDEPATH *= $$ROOT_DIR/3party/boost
CONFIG -= depend_includepath
CONFIG *= c++11
+# For old android gcc 4.6
+!android* {
+ QMAKE_CFLAGS *= -Wno-deprecated-register
+ QMAKE_CXXFLAGS *= -Wno-deprecated-register
+}
# Automatically enable release config for production
CONFIG(production) {