David James wrote:
>It looks like SWIG can't handle the __int64 type. Perhaps we can fool
>SWIG by defining __int64 to "long long".
>
>Try this patch:
>
>[[[
>
>subversion/bindings/swig/proxy/apr_h.swg:
> Workaround SWIG bug which means that SWIG cannot parse "__int64",
> by defining "__int64" to be "long long".
>
>]]]
>
>
Well, this certainly helps the Python bindings to compile (and work, as
far as I can see), but it kills the Perl bindings:
subversion\bindings\swig\perl\native\core.c(1605) : error C2632: 'long' followed by 'long' is illegal
subversion\bindings\swig\perl\native\core.c(1723) : error C2632: 'long' followed by 'long' is illegal
subversion\bindings\swig\perl\native\core.c(2219) : error C2632: 'long' followed by 'long' is illegal
subversion\bindings\swig\perl\native\core.c(2385) : error C2632: 'long' followed by 'long' is illegal
subversion\bindings\swig\perl\native\core.c(3459) : error C2632: 'long' followed by 'long' is illegal
subversion\bindings\swig\perl\native\core.c(3517) : error C2632: 'long' followed by 'long' is illegal
subversion\bindings\swig\perl\native\core.c(3737) : error C2632: 'long' followed by 'long' is illegal
subversion\bindings\swig\perl\native\core.c(5768) : error C2632: 'long' followed by 'long' is illegal
subversion\bindings\swig\perl\native\core.c(9402) : error C2632: 'long' followed by 'long' is illegal
Note that *without* this patch, the Perl bindings build fails with the
same error as the Python bindings build... that's a bit of a bummer.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 28 14:40:20 2005