[Python-Dev] Suggestion/ feature request

"Martin v. Löwis" martin at v.loewis.de
Tue Nov 21 07:01:26 CET 2006


Julian schrieb:
> 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...

While I agree that would be reasonable, I also wonder why you are
getting these errors. Where is the first definition of these macros, and
how is the macro defined at the first definition?

Regards,
Martin


More information about the Python-Dev mailing list