silence webp -Wunused-function warning

This commit is contained in:
Dane Springmeyer 2014-08-09 13:57:01 -07:00
parent 8ff987af6d
commit 678907e027
2 changed files with 6 additions and 0 deletions

View file

@ -30,7 +30,10 @@
// webp
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-function"
extern "C"
{
#include <webp/encode.h>
}
#pragma clang diagnostic pop
// stl

View file

@ -25,11 +25,14 @@
#include <mapnik/debug.hpp>
#include <mapnik/image_reader.hpp>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-function"
extern "C"
{
#include <webp/types.h>
#include <webp/decode.h>
}
#pragma clang diagnostic pop
// boost
#include <boost/iostreams/device/file.hpp>