Re: Luabind compile error with XCode 4 targetting iPhone - "reference to 'object' is ambiguous"

Benjohn Barnes <[email protected]> Wed, 5 Oct 2011 10:30:31 +0100
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
On 5 Oct 2011, at 09:07, Tony Kostanjsek wrote:

> hi,
> what compiler does your project use? I vaguely remember having problems with clang. Try switching to gcc or get the latest luabind from github. I think the clang build was fixed in master.
> hth,
> Tony

Hi Tony,

Thanks – you're absolutely right: I'm using clang as that's the XCode default compiler now. The other people I found with the same problem also seemed to be working on iPhone, so probably had the same issue.

I've made a good start on hand writing the bindings, which seems to be teaching me a lot of Lua (and is making me think about the Lua interface, which I've modified from the c++ original). I'll take a look at the latest in github if it gets out of hand though!

Thanks,
	Benjohn

-- 
[email protected] - Twitter @benjohnbarnes - Skype benjohnbarnes - Mobile +44 (0) 7968 851 636


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1