Re: Problems compiling while using monitor_ptr

8 views
Skip to first unread message

Frank Mori Hess

unread,
Sep 22, 2008, 6:35:04 PM9/22/08
to Phillip Seaver, lib...@googlegroups.com
On Monday 22 September 2008 12:45, Phillip Seaver wrote:
> I'm compiling with VS 2005 (msvc-8.0) and getting these errors:
>
> 1>..\..\..\misc\libpoet\poet/monitor_locks.hpp(174) : error C2888:
> 'poet::monitor_upgrade_lock' : symbol cannot be defined within namespace
> 'detail'

The C2888 error appears to be a compiler bug, see:

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=99218

or

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101615

I use gcc, and have only tried compiling libpoet with msvc9. I added a
workaround you could try, see:

http://www.comedi.org/cgi-bin/viewvc.cgi/libpoet/poet/monitor_locks.hpp?r1=1.17&r2=1.18

However, you'll probably hit many more compiler bugs, so it's really up to
you or someone interested in using msvc 8 to find workarounds.

Reply all
Reply to author
Forward
0 new messages