« Return to Thread: problems with python24_d.lib

Re: problems with python24_d.lib

by Sohail Somani :: Rate this Message:

Reply to Author | View in Thread

> -----Original Message-----
> From: swig-user-bounces@...
> [mailto:swig-user-bounces@...] On Behalf Of Nitro
> Sent: Thursday, June 08, 2006 8:05 AM
> To: Bob Marinier
> Cc: swig-user@...
> Subject: Re: [Swig-user] problems with python24_d.lib
>
> > This seems to work great.  The only change I made was to
> use %runtime %{
> > ... %} to insert the code because that causes this to
> appear earlier in
> > the generated code (otherwise is comes after "#include <stdexcept>",
> > which may or may not matter).
>
> Won't that approach strip the _DEBUG symbol away from too
> many headers?  
> For example if you #include "myHeader.h" and this header does
> something  
> like #ifdef _DEBUG somewhere, then this won't work all of a
> sudden. Can  
> you still debug through the wrappers (with symbol information
> and such) if  
> _DEBUG is not defined for the parts except python?

Like Matt says, this is not guaranteed to work 100%. I think it should
work for python though.


_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

 « Return to Thread: problems with python24_d.lib