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

Re: SWIG not generating correct type qualifiers

From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2007-03-03 18:52:37 CET

Nik Clayton wrote:
> Has anyone experienced problems with Swig not generating correct type
> qualifiers?

[...]

> If you try and pass anything that fits in an unsigned 32 bit int, but
> not a signed 32 bit int (eg., 0xffffffff), the check at the line marked
> "/* check */" will fail, and SWIG_OverflowError is returned.

This appears to be SWIG bug 1481958.

http://sourceforge.net/tracker/index.php?func=detail&aid=1481958&group_id=1645&atid=101645

I'd be grateful if people could try the following:

   svn checkout
http://svn.collab.net/repos/svn/branches/perl-bindings-improvements

   cd perl-bindings-improvements
   ./autogen.sh
   ./configure \
     --enable-maintainer-mode \
     --enable-debug \
     --without-neon \
     --without-berkeley-db
   gmake MAKE=gmake
   gmake MAKE=gmae swig-pl

(the MAKE=gmake bit is necessary on platforms where GNU make is not
"make", if that's not the case on your platform then just "make; make
swig-pl" should suffice).

Then

   cd subversion/bindings/swig/perl/native
   perl Makefile.PL
   make
   perl -Iblib/arch -Iblib/lib t/client/list.t

I expect that on 32 bit platforms that test will fail, and on 64 bit
platforms it will succeed. I've only got a 64 bit platform available at
the moment, and I want to make sure the problem is definitely there on
32 bit platforms before I work on a fix.

Many thanks,

N

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 3 18:52:55 2007

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.