MSVC: Slience external/meaningless warnings

This commit is contained in:
Hamdi Sahloul
2018-09-12 13:23:36 +09:00
parent 38f8fc6c82
commit 03b3be0f51
7 changed files with 51 additions and 6 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
//warning number '5033' not a valid compiler warning in vc12
#if defined(_MSC_VER) && (_MSC_VER > 1800)
// eliminating duplicated round() declaration
#define HAVE_ROUND 1
#pragma warning(push)
@@ -6,7 +7,7 @@
#endif
#include <math.h>
#include <Python.h>
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
#if defined(_MSC_VER) && (_MSC_VER > 1800)
#pragma warning(pop)
#endif