suppress -Wcast-function-type for swig code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user