|
Boost : |
Subject: Re: [boost] [context] build error with -std=c++0x
From: Oliver Kowalke (k-oli_at_[hidden])
Date: 2010-11-25 02:56:16
I'll correct this issue in the next release.
Currently I'm struggeling with boost.build.
Oliver
-------- Original-Nachricht --------
> Datum: Wed, 24 Nov 2010 20:05:07 -0800 (PST)
> Von: Vicente Botet <vicente.botet_at_[hidden]>
> An: boost_at_[hidden]
> Betreff: Re: [boost] [context] build error with -std=c++0x
>
>
> Charlls Quarra wrote:
> >
> >
> > Hi,
> >
> > sorry for the replying delay
> >
> > You are right, i was trying to link against boost built without c++0x,
> so
> > i went back into the build directory and ran:
> >
> > bjam -a architecture=x86 instruction-set=i686 toolset=gcc
> > cxxflags=-std=gnu++0x --with-context stage
> >
> > verified that the library had the appropiate symbols:
> >
> > nm stage/libboost_context.so.1.43 | c++filt | grep '&&'
> > 00002d09 W boost::remove_reference<boost::contexts::context&>::type&&
> > boost::move<boost::contexts::context&>(boost::contexts::context&&&)
> > 00002408 T boost::contexts::context::context(boost::contexts::context&&)
> > 000023d4 T boost::contexts::context::context(boost::contexts::context&&)
> > 0000243c T
> boost::contexts::context::operator=(boost::contexts::context&&)
> > 00002d5d W
> > std::remove_reference<boost::contexts::context::impl_t*&>::type&&
> >
> std::move<boost::contexts::context::impl_t*&>(boost::contexts::context::impl_t*&&&)
> >
>
> This concerns the move constructor and assignments.
>
>
>
> > I tried to rebuild the test project exactly as in my first post, but i
> got
> > this error:
> >
> > boost_1_43_0/stage/libboost_context.so: undefined reference to
> > `boost::contexts::context::context(boost::contexts::context const&)'
> > collect2: ld returned 1 exit status
> >
> >
>
> The message is telling you that the copy constructor is undefined, which
> is
> normal as a context is not copy contructible.
>
> HTH,
> Vicente
> --
> View this message in context:
> http://boost.2283326.n4.nabble.com/context-build-error-with-std-c-0x-tp3051744p3058439.html
> Sent from the Boost - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
-- GRATIS! Movie-FLAT mit über 300 Videos. Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk