Hi,
On 29/01/15 16:05, Philip Martin wrote:
> Andreas Stieger <andreas.stieger_at_gmx.de> writes:
>
>> When removing comments which throw SWIG 3.0.4 errors as this:
>
> What errors do you get if you leave the comments in? We don't really
> want to delete the comments from our source code.
> [ 479s] ./subversion/bindings/swig/core.i:792: Error: Unknown SWIG preprocessor directive: The (if this is a block of target language code, delimit it with %{ and %})
> [ 479s] ./subversion/bindings/swig/core.i:793: Error: Unknown SWIG preprocessor directive: reference (if this is a block of target language code, delimit it with %{ and %})
> [ 479s] ./subversion/bindings/swig/core.i:794: Error: Unknown SWIG preprocessor directive: references (if this is a block of target language code, delimit it with %{ and %})
> [ 479s] ./subversion/bindings/swig/core.i:795: Error: Unknown SWIG preprocessor directive: keeping (if this is a block of target language code, delimit it with %{ and %})
> [ 479s] /home/abuild/rpmbuild/BUILD/subversion-1.8.11/subversion/bindings/swig/include/proxy.swg:86: Error: Unknown SWIG preprocessor directive: If (if this is a block of target language code, delimit it with %{ and %})
> [ 479s] /home/abuild/rpmbuild/BUILD/subversion-1.8.11/subversion/bindings/swig/include/proxy.swg:87: Error: Unknown SWIG preprocessor directive: metadata (if this is a block of target language code, delimit it with %{ and %})
[...]
> Which version of Python are you using?
Seen with 2.7.9, 2.7.8, 2.7.7, 2.7.5, 2.6.8 when using SWIG 3.0.4, but
not SWIG 2.
Andreas
Received on 2015-01-29 17:06:24 CET