suppress warning caused by shiboken header file with gcc

This commit is contained in:
wmayer 2016-10-02 20:13:02 +02:00
parent 147788d8d8
commit 27cf73acab

View File

@ -40,6 +40,11 @@
#endif
#endif
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
#ifdef HAVE_SHIBOKEN
# undef _POSIX_C_SOURCE
# undef _XOPEN_SOURCE
@ -56,6 +61,10 @@ PyTypeObject** SbkPySide_QtGuiTypes=NULL;
# endif
#endif
#ifdef __GNUC__
# pragma GCC diagnostic pop
#endif
#include <CXX/Objects.hxx>
#include <App/Application.h>
#include <Base/Console.h>