Hello, I am using python with swig and I get a lot of macro redefinition warnings like so: warning C4005: '_CRT_SECURE_NO_DEPRECATE' : macro redefinition In the file - pyconfig.h - rather than the following lines, I was wondering if it would be more reasonable to use #ifdef statements as shown in the bottom of the email... #define _CRT_SECURE_NO_DEPRECATE 1 #define _CRT_NONSTDC_NO_DEPRECATE 1 #if !defined(_CRT_SECURE_NO_DEPRECATE) # define _CRT_SECURE_NO_DEPRECATE #endif #if !defined(_CRT_NONSTDC_NO_DEPRECATE) # define _CRT_NONSTDC_NO_DEPRECATE #endif Just a suggestion... Thanks for reading! Julian.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4