avoid -Wshadow errors from boost when compiling csv plugin

This commit is contained in:
Dane Springmeyer 2015-09-30 14:11:16 -07:00
parent 54609fd8ac
commit d6b60188e8

View file

@ -31,8 +31,12 @@
#include <cstdio>
#ifdef CSV_MEMORY_MAPPED_FILE
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#pragma GCC diagnostic ignored "-Wsign-conversion"
#include <boost/interprocess/mapped_region.hpp>
#include <boost/interprocess/streams/bufferstream.hpp>
#pragma GCC diagnostic pop
#include <mapnik/mapped_memory_cache.hpp>
#endif