Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2004-07-12 22:44:43

Joel de Guzman wrote:

> 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

The same problem is found in thread/read_write_mutex.hpp:37:
and thread/detail/read_write_lock.hpp.

*** There are also no newlines at the end of these files. ***

Fixing all those above, Spirit compiles now with only one
test failing. The failure is again because of boost.threads
(again on MinGW, g++3.2) :

read_write_mutex.cpp: In member function `void
read_write_mutex.cpp:87: parse error before `('

read_write_mutex.cpp: In member function `bool
read_write_mutex.cpp:161: parse error before `('

read_write_mutex.cpp: In member function `void
    boost::detail::thread::read_write_mutex_impl<Mutex>::do_read_lock() [with
    Mutex = boost::mutex]':

read_write_mutex.cpp:621: instantiated from here

read_write_mutex.cpp:98: `l' undeclared (first use
    this function)

read_write_mutex.cpp:98: (Each undeclared
    identifier is reported only once for each function it appears in.)

Any hints?


Joel de Guzman

Boost list run by bdawes at, gregod at, cpdaniel at, john at