This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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>


On Wed, Sep 3, 2008 at 4:17 PM, Chris Fairles <chris.fairles@gmail.com> 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).
>
> Chris
>

Sorry, its _POSIX_TIMEOUTS, not timers.

Chris

Attachment: Changelog_gthr_posix_cxx0x.txt
Description: Text document


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