suppress -Wcast-function-type for swig code

This commit is contained in:
wmayer
2018-08-08 18:18:53 +02:00
parent a7f261dc13
commit e6b5a5fb14

View File

@@ -31,6 +31,9 @@
#elif defined (__GNUC__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
# if __GNUC__ >= 8
# pragma GCC diagnostic ignored "-Wcast-function-type"
# endif
#endif
namespace Swig_python {
#define SWIG_PYTHON_NO_BUILD_NONE