|
Boost : |
From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-07-13 10:13:30
Joel de Guzman wrote:
> 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.
Fixed.
> *** There are also no newlines at the end of these files. ***
Fixed.
> 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
> boost::detail::thread::read_write_mutex_impl<Mutex>::do_read_lock()':
> read_write_mutex.cpp:87: parse error before `('
> token
>
> read_write_mutex.cpp: In member function `bool
>
> boost::detail::thread::read_write_mutex_impl<Mutex>::do_try_read_lock()':
> read_write_mutex.cpp:161: parse error before `('
> token
>
> 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?
No ideas at the moment.
Mike
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk