|
Boost : |
From: Samuel Debionne (debionne_at_[hidden])
Date: 2008-02-01 05:07:52
Hello all,
I have the following compile error in my project, using the SVN release
branch :
boost\boost\boost/pool/detail/mutex.hpp(67) : error C2872: 'CRITICAL
_SECTION' : ambiguous symbol
could be 'C:\Program Files\Microsoft Platform
SDK\include\winbase.h(295)
: RTL_CRITICAL_SECTION CRITICAL_SECTION'
or 'third_party\boost\boost\boost/detail/lwm_win32_cs.hpp(33) :
boost::d
etail::CRITICAL_SECTION'
It can be easly by fixed by adding "::" in front of the CRITICAL_SECTION
member definition of the win32_mutex class (see pool/detail/mutex.hpp).
But is there any reason not to use boost/detail/lightweight_mutex.hpp in
the pool library ?
Regards,
Samuel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk