On Wed, Sep 3, 2008 at 3:56 PM, Andreas Tobler
<andreast-list@fgznet.ch> wrote:
Paolo Carlini wrote:
Chris Fairles wrote:
Missed a few explicit bool casts.
Committed after a multilib build on x86_64-linux.
Breaks bootstrap on *-*-darwin*.
In file included from
/Volumes/development/gcc/head/gcc/libstdc++-v3/src/mutex.cc:30:
/Volumes/development/gcc/head/objdir/powerpc-apple-darwin9.4.0/libstdc++-v3/include/mutex:
In member function 'bool std::timed_mutex::try_lock_until(const
std::chrono::time_point<_Clock, _Duration1>&)':
/Volumes/development/gcc/head/objdir/powerpc-apple-darwin9.4.0/libstdc++-v3/include/mutex:218:
error: there are no arguments to '__gthread_mutex_timedlock' that
depend on a template parameter, so a declaration of
'__gthread_mutex_timedlock' must be available
Reverting 139943 on libstdc++ brings it back to working.
Thanks, Andreas
Perhaps for now we shouldn't define _GTHREADS_CXX0X in gthr-posix.h
unless _POSIX_TIMERS > 0 ? (attached patch plus changelog).