Boost logo

Boost :

From: Stas Khirman (staskh_at_[hidden])
Date: 2008-05-13 03:30:59


Just found a compilation problem in
include/boost-1_35/boost/pool/detail/mutex.hpp line 67.

 

While compiling with VS2005 under WinXp, got compilation error "C2872:
'CRITICAL_SECTION' : ambiguous symbol". ( project is quite complicated, with
many includes and soon)

 

Fix is trivial:

            ::CRITICAL_SECTION mtx;

// note "::" to resolve symbol mix-up.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk