MUD Game Programmming - Python Modules in C++

Ulrich Eckhardt eckhardt at satorlaser.com
Wed Oct 14 04:19:06 EDT 2009


Gabriel Genellina wrote:
>> #ifdef _DEBUG
>> #undef _DEBUG
>> #include <Python.h>
>> #define _DEBUG
>> #else
>> #include <Python.h>
>> #endif
[...to keep Python from linking against non-existant debug libraries.]
> 
> No, don't do that. Just compile your application in release mode.

Why not, does it break anything?

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932




More information about the Python-list mailing list