[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Fix build errors in bindings with SWIG 3.0.4

From: Andreas Stieger <andreas.stieger_at_gmx.de>
Date: Thu, 29 Jan 2015 17:05:54 +0100

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.