mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 13:59:19 +02:00
supress warnings in python.h
This commit is contained in:
8
PyInt.h
8
PyInt.h
@@ -18,7 +18,12 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#undef _XOPEN_SOURCE
|
#undef _XOPEN_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning( push )
|
||||||
|
#pragma warning( disable : 5033 )
|
||||||
|
#endif
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wregister"
|
#pragma GCC diagnostic ignored "-Wregister"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -33,6 +38,9 @@ http://mozilla.org/MPL/2.0/.
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning( pop )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "Classes.h"
|
#include "Classes.h"
|
||||||
#include "utilities.h"
|
#include "utilities.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user