Inconsistent use of __GTHREAD_HAS_COND

fafa fafa@freesurf.ch
Sun Oct 7 15:57:00 GMT 2007


Hi.

I tried to build gcc from the latest snapshot (gcc-4.3-20071005),
but I undefined the symbol "__GTHREAD_HAS_COND"
which is desribed in libstdc++-v3\ChangeLog as follows:
   ...
   [!__GTHREAD_HAS_COND] Fall back to the old code, which deadlocks.
   ...

But libstdc++-v3\libsupc++\guard.cc uses the class __guard from
libstdc++-v3\include\ext\concurrence.h which depends on the symbol
__GTHREAD_HAS_COND and is undefined now.

It seems to me that the two files are not consistent.
What should I do ?

Cheers
Maett



More information about the Gcc mailing list