diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2018-11-01 14:41:44 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2018-11-01 16:29:37 +0200 |
commit | 7ff85374a7bcfcfcf27d973f52808e6e3ff76115 (patch) | |
tree | e899bc808e9933ea2ca72054eb35a5dab91ce82c /src/mbgl/annotation | |
parent | bcbbc7e5f3381482215531abdf005648028f6921 (diff) | |
download | qtlocation-mapboxgl-7ff85374a7bcfcfcf27d973f52808e6e3ff76115.tar.gz |
[build] Remove #pragma diagnostic for boost
Boost is now included as a system header and the compiler
should ignore it when issuing warnings.
Diffstat (limited to 'src/mbgl/annotation')
-rw-r--r-- | src/mbgl/annotation/symbol_annotation_impl.hpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mbgl/annotation/symbol_annotation_impl.hpp b/src/mbgl/annotation/symbol_annotation_impl.hpp index e41ff85f33..d8c85cec21 100644 --- a/src/mbgl/annotation/symbol_annotation_impl.hpp +++ b/src/mbgl/annotation/symbol_annotation_impl.hpp @@ -5,29 +5,12 @@ #include <string> -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wunused-function" -#pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-Wunused-variable" -#pragma GCC diagnostic ignored "-Wshadow" -#ifdef __clang__ -#pragma GCC diagnostic ignored "-Wunknown-pragmas" -#endif -#pragma GCC diagnostic ignored "-Wpragmas" -#pragma GCC diagnostic ignored "-Wdeprecated-register" -#pragma GCC diagnostic ignored "-Wshorten-64-to-32" -#pragma GCC diagnostic ignored "-Wunused-local-typedefs" -#ifndef __clang__ -#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" -#pragma GCC diagnostic ignored "-Wmisleading-indentation" -#endif #include <boost/geometry.hpp> #include <boost/geometry/geometries/point.hpp> #include <boost/geometry/geometries/box.hpp> #include <boost/geometry/geometries/register/point.hpp> #include <boost/geometry/geometries/register/box.hpp> #include <boost/geometry/index/rtree.hpp> -#pragma GCC diagnostic pop namespace mbgl { |