This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] c++0x <mutex> and <condition_variable>
Paolo Carlini wrote:
Paolo Carlini wrote:
+ in case the test relies on the new gthread support, we need a new
dg-require very similar to the one I added for the atomic builtins
(look for check_v3_target_atomic_builtins) checking that
<bits/c++config.h> defines _GLIBCXX_HAS_GTHREADS. Likewise for any
other feature required for the correct build and run of the test
(__GTHREAD_HAS_COND?!?). Really rather mechanical additions.
Also, careful with int64_t, must be protected by the
dg-require-cstdint...
And remember that the whole <chrono> itself essentially doesn't exist if
_GLIBCXX_USE_C99_STDINT_TR1 is undefined. Thus careful not just
including it and using its facilities...
Paolo.