silence webp -Wunused-function warning
This commit is contained in:
parent
8ff987af6d
commit
678907e027
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue