|
Boost : |
Subject: Re: [boost] [context] MinGW support?
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2011-07-24 19:57:24
> >>>> The errors above point to some problems with boost.move. Which version
> >>>> did you use? Could you test the lib with the sources from github?
> >>> I tried the github sources, but I am getting the same errors.
> >>>
> >>> I am using the latest SVN trunk, which contains the Move library.
> >>> Is there some other version of the Move library that I'm supposed to be
> >>> using?
> >>
> >> It is a bug in the boost.move (trunk version). The new version doesn't allow
> >> to separate the implemantion of copy-ctor and assignment-op from
> >> their declaration.
> >
> > So, is there a version of Boost.Move that does work with your library?
> > Where can I get it?
>
> I've reverted the commit which has removed boost.move from
> https://github.com/olk/boost.context.
Thanks! I'm happy to report that I can build the library and compile and run
an example program now.
However, if I try to compile a program using the library with --std=c++0x,
I get the following linker error:
In function `boost::contexts::detail::context_base<boost::con
texts::protected_stack>::context_base(boost::contexts::protected_stack&&,
bool, bool)':
output_iterator_range.cpp:(
.text._ZN5boost8contexts6detail12context_baseINS0_15protected_stackEEC2
EOS3_bb[
_ZN5boost8contexts6detail12context_baseINS0_15protected_stackEEC5EOS3_b
b]+0x41): undefined reference to
`boost::contexts::protected_stack::protected_stack(
boost::contexts::protected_stack &&
)'
What can I do to fix this?
Thanks,
Nate.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk