Re: Compiling Luabind in MacOSX 10.5

David Huynh <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Thank you so much!! That worked like a charm. Thanks for the quick reply
too.

- David



On Fri, Jun 5, 2009 at 4:13 PM, Daniel Wallin <[email protected]> wrote:

> David Huynh wrote:
> > Hi guys,
> > I've been trying to compile luabind on my macbook for a good week now,
> but
> > I'm kinda lost and I'm not sure what's wrong with my build.
> [... snip error ...]
> > Any thoughts?
>
> Yes, someone had this problem on IRC yesterday. I just checked in this
> fix to the 0.8 branch:
>
> diff --git a/luabind/detail/policy.hpp b/luabind/detail/policy.hpp
> index d011db8..83bb3dd 100644
> --- a/luabind/detail/policy.hpp
> +++ b/luabind/detail/policy.hpp
> @@ -1044,7 +1044,7 @@ namespace detail
>  namespace luabind { namespace
>  {
>  #if defined(__GNUC__) && \
> -  (__GNUC__ * 100 + __GNUC_MINOR__ <= 400 || BOOST_VERSION <= 103401)
> +  (__GNUC__ * 100 + __GNUC_MINOR__ < 400 || BOOST_VERSION <= 103401)
>   static inline boost::arg<0> return_value()
>   {
>          return boost::arg<0>();
>
>
> --
> Daniel Wallin
> BoostPro Computing
> http://www.boostpro.com
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> luabind-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/luabind-user
>

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.