Piers Harding [26/08/01 09:16 +0100]:
> Hi All,
>
> There are two parts to this question, so please bare with me:
[snip]
> (2) with Inline::CPP - a lot of the header files for the JECL
> libraries seem to conflict badly with those of perl - to get round
> this I hacked Inline::CPP so that I could include these headers
> before the standard perl ones - this worked with no problem, but
> there is no way of doing this standardly with Inline / CPP.
There is, actually (this also works with Inline::C):
----8<----
use Inline CPP => Config => AUTO_INCLUDE => [undef, <<END_INCLUDES];
#include <my_header.h>
extern "C" {
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "INLINE.h"
}
/* Whatever else you want... */
END_INCLUDES
---->8----
I can't help you with the threaded libraries question at all.
Later,
Neil