This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] c++0x <mutex> and <condition_variable>


Chris Fairles wrote:
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).

Thanks, a quick test shows success on on x86_64-apple-darwin, but it fails on powerpc-apple-darwin. Might be due to a different tree status? Will update the ppc tree and restart the build.


Let you now asap.

Thanks,
Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]