Adam Witney <[EMAIL PROTECTED]> writes:

> Unfortunately it won't compile on my OSX 10.2.8 machine...
> 
> cc -c -I. -IHandler -I/usr/local/install/xerces-c-src_2_3_0/include
> -D_REENTRANT -Os     -DVERSION=\"2.3.0-3\" -DXS_VERSION=\"2.3.0-3\"
> -I/sw/lib/perl5/5.6.0/darwin/CORE  Xerces.cpp
> Xerces.cpp: In function `void SWIG_MakePtr(SV*, void*, swig_type_info*,
> int)':
> Xerces.cpp:499: `PERL_MAGIC_tied' undeclared (first use this function)
> Xerces.cpp:499: (Each undeclared identifier is reported only once for each
>    function it appears in.)

Bugger. That's a perl-5.8'ism that must have slipped into the Perl
patches that got applied to SWIG CVS just recently, we'll have to make
that conditional on the Perl version.

Adam, There's only one occurrence of it in Xerces.cpp, can you simply
replace it with character 'P' and recompile and let me know what
happens?

Cheers,
jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to