summaryrefslogtreecommitdiff
path: root/src/3rdparty
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-04-01 21:54:34 -0700
committerThiago Macieira <thiago.macieira@intel.com>2017-04-03 03:40:33 +0000
commit27218b5c51cc9adf9d120924aa92eb3ccd076492 (patch)
tree2c3a64117ae9e894150d2b010ee7d05fd313221b /src/3rdparty
parent6bc54fc4b531e9cfeaa04296b4986ffb0f82dd3d (diff)
downloadqtlocation-27218b5c51cc9adf9d120924aa92eb3ccd076492.tar.gz
Disable warnings in third-party code
We don't care to fix them. clipper.cpp:3665:13: warning: unused variable 'firstLeft' [-Wunused-variable] sweep.cpp:706:8: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare] Change-Id: I27b55fdf514247549455fffd14b17ba6040ac332 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/clip2tri/clip2tri.pro2
-rw-r--r--src/3rdparty/clipper/clipper.pro2
-rw-r--r--src/3rdparty/poly2tri/poly2tri.pro2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/3rdparty/clip2tri/clip2tri.pro b/src/3rdparty/clip2tri/clip2tri.pro
index 4ae7a799..7217de42 100644
--- a/src/3rdparty/clip2tri/clip2tri.pro
+++ b/src/3rdparty/clip2tri/clip2tri.pro
@@ -1,6 +1,6 @@
TARGET = clip2tri
-CONFIG += staticlib exceptions
+CONFIG += staticlib exceptions warn_off
INCLUDEPATH += ../poly2tri
INCLUDEPATH += ../clipper
diff --git a/src/3rdparty/clipper/clipper.pro b/src/3rdparty/clipper/clipper.pro
index 233874e5..7ced65ac 100644
--- a/src/3rdparty/clipper/clipper.pro
+++ b/src/3rdparty/clipper/clipper.pro
@@ -2,7 +2,7 @@ TARGET = clipper
CONFIG += staticlib
CONFIG += exceptions
-
+CONFIG += warn_off
load(qt_helper_lib)
diff --git a/src/3rdparty/poly2tri/poly2tri.pro b/src/3rdparty/poly2tri/poly2tri.pro
index d4ae9cd8..90dfbbd1 100644
--- a/src/3rdparty/poly2tri/poly2tri.pro
+++ b/src/3rdparty/poly2tri/poly2tri.pro
@@ -1,6 +1,6 @@
TARGET = poly2tri
-CONFIG += staticlib
+CONFIG += staticlib warn_off
load(qt_helper_lib)