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

Re: test failure: 1.3.1, swig 1.3.28, ruby 1.8, Linux / PowerPC

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-04-07 23:46:35 CEST

[David James]
> All SWIG bindings (including the Ruby bindings) must be compiled using
> the -fno-strict-aliasing flag, because SWIG uses typecasts which are
> not safe under strict aliasing rules. Normally, the Ruby bindings
> inherit the -fno-strict-aliasing flag from Ruby, but if it doesn't,
> you'll need to hack the Ruby SWIG bindings to also use the flag.

Thanks - but I added -fno-strict-aliasing to SWIG_RB_COMPILE back in
January. So that's not it. (Incidentally, I suppose, from your
message, that I should add the same flag to SWIG_PY_COMPILE too.)

Received on Fri Apr 7 23:47:10 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.