[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: Kouhei Sutou <kou_at_cozmixng.org>
Date: Wed, 24 Dec 2008 21:02:41 +0900

Hi,

2008/12/24 Kouhei Sutou <kou_at_cozmixng.org>:
> Hi,
>
> 2008/12/24 Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>:
>
>>> 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.)
>
> It's Ruby's header file problem.
> 'inline' is used in Ruby's header file but it can't be used with -ansi option.

FYI: If we want to pass '-ansi' option to the Ruby bindings' build options,
we also need to build Ruby with '-ansi' option. If Ruby is built without '-ansi'
option, Ruby assumes that 'inline' is available. This causes the error at
the Ruby bindings build time.

Thanks,

--
kou
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=991508
Received on 2008-12-24 13:03:54 CET

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.