|
Boost : |
Subject: Re: [boost] [context] MinGW support?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2011-07-26 12:43:45
Am 25.07.2011 01:57, schrieb Nathan Ridge:
>
> 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.
> _______________________________________________
> Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
something wired with boost.move - with std=c++0x it required to change
the move assignment op from
protected_stack tmp( boost::move( other) ); // use move-copy-ctor
to
protected_stack tmp( other);
I would vote that using --std=c++x0 is not supported until this issue is
fixed/clarified in boost.move.
so long,
Oliver
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk