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

Re: Swig-rb binding build broken

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Tue, 23 Dec 2008 17:41:51 -0600

Kouhei Sutou wrote:
> Hi,
>
> 2008/12/24 Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>:
>
>> Sorry to be the broken record here, especially given the amount of work you put
>> in, but the ruby bindings aren't currently building. The error I get is shown
>> by this ubuntu-x64 buildbot:
>
>> cd . && /usr/bin/python build/generator/swig/external_runtime.py build.conf
>> /usr/local/bin/swig ruby
>> /bin/bash /home/hwright/dev/svn-buildbot/x64-ubuntu/build/libtool --tag=CC
>> --silent --mode=compile cc -fno-strict-aliasing -g -g -O2 -fPIC -DLINUX=2
>> -D_REENTRANT -D_GNU_SOURCE -Wold-style-definition -Wpointer-arith
>> -Wwrite-strings -Wshadow -ansi -Wall -Wformat=2 -Wunused -Waggregate-return
>> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-multichar
>> -Wredundant-decls -Wnested-externs -Wunreachable-code -Winline -Wno-long-long -g
>> -g -pthread -DSVN_DEBUG -DAP_DEBUG
>
> Please remove "-ansi" option.

Thanks for taking a look at this.

I can confirm that this "fixes" the problem. However, I'm concerned about why
the bindings don't build with -ansi. Is this problem specific to our bindings,
or is it a more general Ruby issue? (The errors occur in a ruby-supplied header
file.)

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=991071

Received on 2008-12-24 00:42:15 CET

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