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

r1619122 (stsp) broke 'make swig-py'

From: Alexey Neyman <stilor_at_att.net>
Date: Wed, 20 Aug 2014 17:29:35 -0700

The new fields added in svn_wc.h cause the following errors:

subversion/bindings/swig/python/svn_wc.c: In function
‘_wrap_svn_wc_conflict_description2_t_prop_value_base_set’:
subversion/bindings/swig/python/svn_wc.c:8798: error: ‘_global_pool’
undeclared (first use in this function)
subversion/bindings/swig/python/svn_wc.c:8798: error: (Each undeclared
identifier is reported only once
subversion/bindings/swig/python/svn_wc.c:8798: error: for each function it
appears in.)
subversion/bindings/swig/python/svn_wc.c: In function
‘_wrap_svn_wc_conflict_description2_t_prop_value_working_set’:
subversion/bindings/swig/python/svn_wc.c:8859: error: ‘_global_pool’
undeclared (first use in this function)
subversion/bindings/swig/python/svn_wc.c: In function
‘_wrap_svn_wc_conflict_description2_t_prop_value_incoming_old_set’:
subversion/bindings/swig/python/svn_wc.c:8920: error: ‘_global_pool’
undeclared (first use in this function)
subversion/bindings/swig/python/svn_wc.c: In function
‘_wrap_svn_wc_conflict_description2_t_prop_value_incoming_new_set’:
subversion/bindings/swig/python/svn_wc.c:8981: error: ‘_global_pool’
undeclared (first use in this function)

because the memberin typemaps for svn_string_t assume they are used in
functions that also receive the pool argument. Trivial fix (ignoring the
offending structure in bindings) is attached.

A better fix would probably be fix the memberin typemaps for svn_string_t, but
I do not know the specifics of pool usage in SWIG to do that.

Regards,
Alexey.

Received on 2014-08-21 02:30:10 CEST

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.