diff options
author | Sergey Yershov <syershov@maps.me> | 2016-12-26 17:50:48 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2016-12-26 17:50:48 +0300 |
commit | ec5ff7f0b69c8abd936e3600a8e7ec04f1d62dd5 (patch) | |
tree | e68800f2f1d2952f38bc559c8361da2829154154 /3party | |
parent | 30a663c89700b03b548d2f49a4e6ec98ea1d3bc7 (diff) |
Fix warnings
Diffstat (limited to '3party')
-rw-r--r-- | 3party/liboauthcpp/liboauthcpp.pro | 4 | ||||
-rw-r--r-- | 3party/opening_hours/opening_hours_integration_tests/opening_hours_integration_tests.cpp | 9 | ||||
-rw-r--r-- | 3party/osrm/osrm.pro | 4 | ||||
-rw-r--r-- | 3party/protobuf/protobuf.pro | 2 |
4 files changed, 18 insertions, 1 deletions
diff --git a/3party/liboauthcpp/liboauthcpp.pro b/3party/liboauthcpp/liboauthcpp.pro index 0600961cfe..4db51249ac 100644 --- a/3party/liboauthcpp/liboauthcpp.pro +++ b/3party/liboauthcpp/liboauthcpp.pro @@ -2,6 +2,10 @@ TARGET = oauthcpp ROOT_DIR = ../.. include($$ROOT_DIR/common.pri) +unix|win32-g++ { + QMAKE_CXXFLAGS_WARN_ON = -w +} + INCLUDEPATH += src include TEMPLATE = lib diff --git a/3party/opening_hours/opening_hours_integration_tests/opening_hours_integration_tests.cpp b/3party/opening_hours/opening_hours_integration_tests/opening_hours_integration_tests.cpp index b070928b5b..fb1ae4eaf5 100644 --- a/3party/opening_hours/opening_hours_integration_tests/opening_hours_integration_tests.cpp +++ b/3party/opening_hours/opening_hours_integration_tests/opening_hours_integration_tests.cpp @@ -7,10 +7,19 @@ #include <ctime> #include <map> +#if defined(__clang__) +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunused-parameter" +#endif + #include <boost/algorithm/string/case_conv.hpp> #include <boost/algorithm/string/replace.hpp> #include <boost/test/included/unit_test.hpp> +#if defined(__clang__) +#pragma clang diagnostic pop +#endif + namespace { template <typename T> diff --git a/3party/osrm/osrm.pro b/3party/osrm/osrm.pro index 300ce8cadf..2dca2c5dd9 100644 --- a/3party/osrm/osrm.pro +++ b/3party/osrm/osrm.pro @@ -8,6 +8,10 @@ ROOT_DIR = ../.. include($$ROOT_DIR/common.pri) +unix|win32-g++ { + QMAKE_CXXFLAGS_WARN_ON = -w +} + DEFINES *= BOOST_ERROR_CODE_HEADER_ONLY INCLUDEPATH *= osrm-backend/include \ osrm-backend/third_party diff --git a/3party/protobuf/protobuf.pro b/3party/protobuf/protobuf.pro index 9cacd0f4af..747b1dcdae 100644 --- a/3party/protobuf/protobuf.pro +++ b/3party/protobuf/protobuf.pro @@ -17,7 +17,7 @@ win32-msvc* { } unix|win32-g++ { - QMAKE_CXXFLAGS_WARN_ON += -Wno-unused -Wno-extra + QMAKE_CXXFLAGS_WARN_ON = -w } |