[Bug libstdc++/54847] --enable-libstdcxx-time=yes doesn't find the functional nanosleep() on darwin
howarth at nitro dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Mon Oct 8 16:45:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54847
--- Comment #36 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-08 16:44:53 UTC ---
(In reply to comment #33)
> So is _GLIBCXX_USE_SCHED_YIELD defined on darwin?
Yes, passing --enable-libstdcxx-time=yes and allowing nanosleep() to be found
on darwin also results in...
./c++/4.8.0/x86_64-apple-darwin12.2.0/bits/c++config.h:#define
_GLIBCXX_USE_SCHED_YIELD 1
./c++/4.8.0/x86_64-apple-darwin12.2.0/i386/bits/c++config.h:#define
_GLIBCXX_USE_SCHED_YIELD 1
More information about the Gcc-bugs
mailing list