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

Re: swig-rb 1.3.x r17949: FAIL (i686-pc-linux-gnu shared)

From: David James <james82_at_gmail.com>
Date: 2006-01-01 22:23:03 CET

On 12/30/05, peter@famlundblad.se <peter@famlundblad.se> wrote:
> error: 'SWIG_RubyRemoveTracking' undeclared (first use in this function)

This error is caused by bugs in SWIG 1.3.26/1.3.27, which have not yet
been fixed. I committed a workaround for this bug in r17280. Should we
propose this fix for 1.3.1?

Note the TODO in r17280. (TODO: We should disable this code for new
versions of SWIG, when this SWIG bug is fixed.)

See http://sourceforge.net/mailarchive/forum.php?thread_id=9320590&forum_id=46758
for discussion of this bug on the SWIG list.

> subversion/bindings/swig/ruby/svn_client.c:7625: warning: dereferencing type-punned pointer will break strict-aliasing rules
> [... lots of strict-aliasing warnings ...]

Looks like the Ruby bindings need a configure check to add
-fno-strict-aliasing. It might be possible to figure out whether
no-strict-aliasing is needed by looking at the flags which were used
to compile Ruby.

Cheers,

David

--
David James -- http://www.cs.toronto.edu/~james
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 1 22:23:41 2006

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.