avoid -Wshadow errors from boost when compiling csv plugin
This commit is contained in:
parent
54609fd8ac
commit
d6b60188e8
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue