Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2006-10-13 02:52:43


Daniel Schlyder <daniel_at_[hidden]> writes:

> Roland Schwarz wrote:
>> Does this also happen with mingw?
>
> Yes. I still get errors with MinGW:
>
> E:\libs\boost\libs\thread\src\mutex.inl: In function `void*
> <unnamed>::new_critical_section()':
> E:\libs\boost\libs\thread\src\mutex.inl:51: error:
> `thread_resource_error' is not a member of `boost'
> E:\libs\boost\libs\thread\src\mutex.inl:57: error:
> `thread_resource_error' is not a member of `boost'
> E:\libs\boost\libs\thread\src\mutex.inl: In function `void*
> <unnamed>::new_mutex(const char*)':
> E:\libs\boost\libs\thread\src\mutex.inl:72: error:
> `thread_resource_error' is not a member of `boost'

I fixed that, yesterday, too.

> BTW, shouldn't the line in mutex.inl that reads
>
> OSVERSIONINFO version_info = {sizeof(OSVERSIONINFO)};
>
> be replaced with
>
> OSVERSIONINFO version_info;
> version_info.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);

No. gcc shouldn't be warning about that.

Anthony

-- 
Anthony Williams
Software Developer
Just Software Solutions Ltd
http://www.justsoftwaresolutions.co.uk

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