suppress more third party warnings

This commit is contained in:
Dane Springmeyer 2016-03-10 12:46:00 -08:00
parent 192f5c26c1
commit 8f4e211ebd
13 changed files with 44 additions and 12 deletions

View file

@ -26,8 +26,11 @@
// mapnik
#include <mapnik/global.hpp>
#include <mapnik/path.hpp>
// boost
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/iterator/iterator_facade.hpp>
#pragma GCC diagnostic pop
// stl
#include <tuple>

View file

@ -22,7 +22,11 @@
#include <mapnik/feature_kv_iterator.hpp>
#include <mapnik/feature.hpp>
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/optional.hpp>
#pragma GCC diagnostic pop
namespace mapnik {

View file

@ -48,12 +48,14 @@
#include <mapnik/pixel_position.hpp>
#pragma GCC diagnostic push
#include <mapnik/warning_ignore_agg.hpp>
#include <mapnik/warning_ignore.hpp>
#include <boost/math/special_functions/round.hpp>
#pragma GCC diagnostic pop
// agg
#pragma GCC diagnostic push
#include <mapnik/warning_ignore_agg.hpp>
#include "agg_trans_affine.h"
#pragma GCC diagnostic pop
namespace mapnik
{

View file

@ -28,12 +28,16 @@
#include <mapnik/config_error.hpp>
#include <mapnik/util/fs.hpp>
#include <mapnik/xml_loader.hpp>
#include <boost/property_tree/detail/xml_parser_read_rapidxml.hpp>
#include <mapnik/xml_node.hpp>
#include <mapnik/util/trim.hpp>
#include <mapnik/util/noncopyable.hpp>
#include <mapnik/util/utf_conv_win.hpp>
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/property_tree/detail/xml_parser_read_rapidxml.hpp>
#pragma GCC diagnostic pop
// stl
#include <iostream>
#include <fstream>

View file

@ -30,9 +30,11 @@
#include <mapnik/ptree_helpers.hpp>
#include <mapnik/xml_node.hpp>
//boost
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/optional.hpp>
#include <boost/property_tree/ptree.hpp>
#pragma GCC diagnostic pop
namespace mapnik { namespace formatting {

View file

@ -35,8 +35,10 @@
#include <mapnik/text/properties_util.hpp>
#include <mapnik/boolean.hpp>
// boost
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/property_tree/ptree.hpp>
#pragma GCC diagnostic pop
namespace mapnik { namespace formatting {

View file

@ -25,8 +25,10 @@
#include <mapnik/feature.hpp>
#include <mapnik/symbolizer.hpp>
// boost
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/property_tree/ptree.hpp>
#pragma GCC diagnostic pop
namespace mapnik {
using boost::property_tree::ptree;

View file

@ -30,8 +30,10 @@
#include <mapnik/text/text_layout.hpp>
#include <mapnik/debug.hpp>
// boost
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/property_tree/ptree.hpp>
#pragma GCC diagnostic pop
namespace mapnik
{

View file

@ -24,8 +24,10 @@
#include <mapnik/text/placements/list.hpp>
#include <mapnik/xml_node.hpp>
//boost
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/property_tree/ptree.hpp>
#pragma GCC diagnostic pop
namespace mapnik
{

View file

@ -14,8 +14,11 @@
* http://source.icu-project.org/repos/icu/icu/trunk/license.html
*/
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <unicode/utypes.h>
#include <unicode/uscript.h>
#pragma GCC diagnostic pop
#include <mapnik/text/scrptrun.hpp>

View file

@ -34,8 +34,10 @@
#include <mapnik/boolean.hpp>
#include <mapnik/make_unique.hpp>
// boost
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/property_tree/ptree.hpp>
#pragma GCC diagnostic pop
namespace mapnik
{

View file

@ -27,8 +27,10 @@
// std
#include <stdexcept>
// icu
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <unicode/ucnv.h>
#pragma GCC diagnostic pop
namespace mapnik {

View file

@ -25,8 +25,10 @@
#include <mapnik/util/trim.hpp>
#include <mapnik/enumeration.hpp>
// boost
#pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp>
#include <boost/optional.hpp>
#pragma GCC diagnostic pop
namespace mapnik {