block deprecation warnings from libgsf
with an uglu gcc progma
This commit is contained in:
parent
deab095b3c
commit
c088097b50
@ -173,7 +173,13 @@
|
||||
|
||||
#ifdef HAVE_GSF
|
||||
|
||||
/* Disable deprecation warnings from gsf. There are loads, and still not
|
||||
* patched as of 12/2020.
|
||||
*/
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#include <gsf/gsf.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
/* Simple wrapper around libgsf.
|
||||
*
|
||||
|
@ -90,8 +90,14 @@
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
||||
/* Disable deprecation warnings from gsf. There are loads, and still not
|
||||
* patched as of 12/2020.
|
||||
*/
|
||||
#ifdef HAVE_GSF
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#include <gsf/gsf.h>
|
||||
#pragma GCC diagnostic pop
|
||||
#endif /*HAVE_GSF*/
|
||||
|
||||
#include <vips/vips.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user