|
Boost : |
From: Joel de Guzman (joel_at_[hidden])
Date: 2004-07-12 22:13:27
Joel de Guzman wrote:
g++3.2 on MinGW has some trouble compiling
boost/thread/detail/lock.hpp:
../../../boost/thread/detail/lock.hpp:30: semicolon missing
after enum declaration
Easy fix:
enum lock_state
{
unlocked=0,
locked=1
};
and
enum blocking_mode
{
non_blocking=0,
blocking=1
};
It's been a while since I've seen the old constructs
such as:
typedef enum
{
unlocked=0,
locked=1
} lock_state;
Cheers,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk