From 20aaeac51592de890dd7f024519fe97e00a935fc Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 7 Oct 2015 14:40:51 -0700 Subject: [PATCH] fix more boost -Wsign-compare warnings [skip ci] --- include/mapnik/expression_grammar.hpp | 1 + include/mapnik/expression_grammar_impl.hpp | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/include/mapnik/expression_grammar.hpp b/include/mapnik/expression_grammar.hpp index 7a71976a7..5bb132f05 100644 --- a/include/mapnik/expression_grammar.hpp +++ b/include/mapnik/expression_grammar.hpp @@ -36,6 +36,7 @@ #pragma GCC diagnostic ignored "-Wunused-local-typedef" #pragma GCC diagnostic ignored "-Wshadow" #pragma GCC diagnostic ignored "-Wsign-conversion" +#pragma GCC diagnostic ignored "-Wsign-compare" #pragma GCC diagnostic ignored "-Wconversion" #include #include diff --git a/include/mapnik/expression_grammar_impl.hpp b/include/mapnik/expression_grammar_impl.hpp index d123b3bae..93b6d868e 100644 --- a/include/mapnik/expression_grammar_impl.hpp +++ b/include/mapnik/expression_grammar_impl.hpp @@ -31,9 +31,17 @@ #include // boost +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-local-typedef" +#pragma GCC diagnostic ignored "-Wshadow" +#pragma GCC diagnostic ignored "-Wsign-conversion" +#pragma GCC diagnostic ignored "-Wsign-compare" +#pragma GCC diagnostic ignored "-Wconversion" #include #include #include +#pragma GCC diagnostic pop // fwd declare namespace mapnik {