[PATCH, libstdc++] Protect thread tests with #ifdef __GTHREADS

Paolo Carlini pcarlini@suse.de
Thu May 5 00:24:00 GMT 2005


Paolo Carlini wrote:

>....................................*why* on AIX we are running
>those tests in the first place.
>  
>
Hum, maybe I know what's going wrong (sorry, cannot make further
progress today): thread testcases are run conditional to
HAVE_GTHR_DEFAULT, which is defined on AIX, simply because the gthr-*
file != single.

On the other hand, GLIBCXX_TEST_THREAD is defined only when a grep of
__GTHREADS inside the gthr-* is succesful: should be used somehow, probably.

Paolo.



More information about the Libstdc++ mailing list