
13 Jul
2004
13 Jul
'04
3:13 a.m.
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