Thanks for the reply. This is all black magic to me (plus I think some newlines got lost in the code in your first paragraph) so I'm not sure if I got it right. Here is what I tried around the section you suggested:
#include "EXTERN.h" #include "perl.h" #define CV __perl_CV #include "XSUB.h" #undef XSPROTO #define XSPROTO(name) void name(pTHX_ __perl_CV* cv) #undef CV
That's just copying what you wrote and guessing at the newlines, so I'm not sure if the syntax is correct. If I try to compile this, the STDERR is down to ~ 1500 lines with a lot of messages like this:
pwiz_swigbindings_wrap.cxx:748:39: error: ‘__perl_CV’ has not been dec +lared #define XSPROTO(name) void name(pTHX_ __perl_CV* cv)
In reply to Re^2: SWIG and conflicting definitions
by jdv
in thread SWIG and conflicting definitions
by jdv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |