compilation problem with new 1.51 boost libs.

24 views
Skip to first unread message

andy

unread,
Aug 31, 2012, 8:44:01 AM8/31/12
to lib...@googlegroups.com
Hi
I tried to compile samples with new boost library 1.51 and got this error


poet/monitor_locks.hpp:81:84: error: 'class boost::unique_lock<boost::mutex>' has no member named 'move'

could anyone has solution for this ?
Best regards
andy

Frank Mori Hess

unread,
Aug 31, 2012, 7:48:44 PM8/31/12
to lib...@googlegroups.com
Are you compiling in c++11 mode? I was able to reproduce this error when
compiling monitor_demo.cpp in c++11 mode. The other example programs also
fail to compile in c++11 mode for other reasons. Anyways, I need to make a
pass over the code and fix the c++11 issues.

signature.asc

Frank Mori Hess

unread,
Sep 2, 2012, 3:55:34 PM9/2/12
to lib...@googlegroups.com
On Friday, August 31, 2012, Frank Mori Hess wrote:
> On Friday, August 31, 2012, andy wrote:
> > Hi
> > I tried to compile samples with new boost library 1.51 and got this
> > error
> >
> >
> > poet/monitor_locks.hpp:81:84: error: 'class
> > boost::unique_lock<boost::mutex>' has no member named 'move' could
> > anyone has solution for this ?
>
> Are you compiling in c++11 mode?

I've committed some fixes to SVN for C++11 mode compilation, do they fix your
issues?
signature.asc
Reply all
Reply to author
Forward
0 new messages