tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gcc-4.8/c++ threads, please
> /archive/foreign/supercollider/common/SC_Lock.h:31:12: error: ‘std::mutex’
> has
> not been declared
> using std::mutex;
A small test program with std::mutex works with lang/gcc48 but not with
gcc from 6.99.40 [4.8.3 (NetBSD nb2 20140304)].
> /archive/foreign/supercollider/common/SC_Lock.h:32:12: error:
> ‘std::timed_mutex’ has not been declared
> using std::timed_mutex;
g++ needs pthread_mutex_timedlock for this, which is missing on NetBSD (PR
48407).
Clang uses an internal substitution judging from looking at the source
(cannot test this because lang/clang is broken on NetBSD without libc++).
Home |
Main Index |
Thread Index |
Old Index