suppress warnings from image_io libs
This commit is contained in:
parent
8f4e211ebd
commit
a1ffbe1ec8
2 changed files with 11 additions and 3 deletions
|
@ -29,17 +29,19 @@
|
|||
#include <mapnik/hextree.hpp>
|
||||
#include <mapnik/image.hpp>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#include <mapnik/warning_ignore.hpp>
|
||||
|
||||
// zlib
|
||||
#include <zlib.h> // for Z_DEFAULT_COMPRESSION
|
||||
|
||||
// boost
|
||||
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <png.h>
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#define MAX_OCTREE_LEVELS 4
|
||||
|
||||
namespace mapnik {
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
#include <mapnik/image_any.hpp>
|
||||
#include <mapnik/util/variant.hpp>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#include <mapnik/warning_ignore.hpp>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <tiffio.h>
|
||||
|
@ -35,6 +38,9 @@ extern "C"
|
|||
#define RealTIFFClose TIFFClose
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
||||
//std
|
||||
#include <memory>
|
||||
|
||||
|
|
Loading…
Reference in a new issue