Changeset: d84f8173c6d1 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d84f8173c6d1
Modified Files:
        sql/backends/monet5/UDF/pyapi3/pyheader.h
Branch: Jan2022
Log Message:

Turn off compile-time Python deprecation warnings on Windows.


diffs (19 lines):

diff --git a/sql/backends/monet5/UDF/pyapi3/pyheader.h 
b/sql/backends/monet5/UDF/pyapi3/pyheader.h
--- a/sql/backends/monet5/UDF/pyapi3/pyheader.h
+++ b/sql/backends/monet5/UDF/pyapi3/pyheader.h
@@ -35,6 +35,7 @@
 #undef _XOPEN_SOURCE
 #undef _POSIX_C_SOURCE
 #define __deprecated__
+#define deprecated(s)
 #ifdef _DEBUG
 #undef _DEBUG
 #include <Python.h>
@@ -43,6 +44,7 @@
 #include <Python.h>
 #endif
 #undef __deprecated__
+#undef deprecated
 
 // Numpy Library
 #ifdef __COVERITY__
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to