A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-November/069985.html below:

[Python-Dev] Suggestion/ feature request

[Python-Dev] Suggestion/ feature request [Python-Dev] Suggestion/ feature requestJulian julvar at tamu.edu
Mon Nov 13 06:27:49 CET 2006
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.

More information about the Python-Dev mailing list

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