Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2007-11-26 06:24:55


"John Maddock" <john_at_[hidden]> writes:

> borland.compile.c++
> ..\..\..\bin.v2\libs\thread\build\borland-5.8.2\debug\thread
> ing-multi\thread.obj
> ..\..\..\libs\thread\src\win32\thread.cpp:
> Error E2096 ..\..\..\libs\thread\src\win32\thread.cpp 497: Illegal structure
> ope
> ration in function set_tss_data(const void
> *,shared_ptr<tss_cleanup_function>,vo
> id *,bool)
> *** 1 errors in Compile ***
>
> Same error with 5.6.4 and 5.8.2 compiler versions.

That's an unfortunate compiler bug: that line does "if(some-bool &&
some-shared_ptr)"

line 151 does "if(the-same-shared_ptr)", so it's obviously context-sensitive.

It does appear that this bug is fixed in borland 5.9.2, as the bcbboost tests
all pass.

Anyway, my Borland compiler seems to be working today (it's very temperamental
--- some days nothing works), so I'll sort out a fix.

Anthony

-- 
Anthony Williams
Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

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