boostorg / python

Boost.org python module
http://boostorg.github.io/python
Boost Software License 1.0
468 stars 201 forks source link

`#undef _DEBUG` issues #375

Open ssrlive opened 2 years ago

ssrlive commented 2 years ago

Hi guys,

Can you remove this line, which can cause the boost-python always link to release version python.dll not python_d.dll

https://github.com/boostorg/python/blob/500194edb7833d0627ce7a2595fec49d0aae2484/include/boost/python/detail/wrap_python.hpp#L45

my DEBUG build like this

image