This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH, libstdc++] Protect thread tests with #ifdef __GTHREADS
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.