diff options
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 } |