Opened 9 years ago

Closed 9 years ago

#9593 closed Bugs (invalid)

boost::log unlock_shared undeclared identifier

Reported by: petke@… Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.55.0 Severity: Showstopper
Keywords: unlock_shared Cc:

Description

compile error

boost_1_55_0\boost/log/detail/locks.hpp(89) 'unlock_shared' : undeclared identifier

Compiled with visual studio express 2013. "b2 link=static"

Attachments (1)

build.log (63.7 KB ) - added by petke@… 9 years ago.
boost build log

Download all attachments as: .zip

Change History (5)

by petke@…, 9 years ago

Attachment: build.log added

boost build log

comment:1 by anonymous, 9 years ago

The error shows up not when building boost, but when building a project of mine that is too large to include here. It worked fine with an older version (see rev below) of boost log (but with visual studio 2012):

rev 698 sourceforge.net/svnroot/boost-log/branches/v1

comment:2 by Andrey Semashev, 9 years ago

The error line points to a generic code. Can you create a small code sample illustrating the problem?

comment:3 by petke@…, 9 years ago

You can close this bugreport. Probably, my bad.

When I compile a few samples from 1_54_0 all works fine.

I havent looked at my logging code in a long time. Seems lots has changed in the log API since I wrote it. I get lots more compile errors when I make sure all of my logging code is being compiled. I believe I use the old v1 API, and this is v2 API. I'll just port it to the new one. That will probably solve it.

Thanks

comment:4 by Andrey Semashev, 9 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.