On 03/12/14 02:12 +0100, Gerald Pfeifer wrote:
This breaks FreeBSD (both 8 and 10) from what I can tell.
[...]
: error: 'atexit' is not a member of 'std'
std::atexit (run);
^
I've just committed this at r218300 which I hope will fix it.
Sorry for the breakage.
commit e256537afe817f0f785e7b70f3e231118eaf1e71
Author: Jonathan Wakely <[email protected]>
Date: Wed Dec 3 01:21:03 2014 +0000
PR libstdc++/64161
* src/c++11/condition_variable.cc: Include <cstdlib>.
diff --git a/libstdc++-v3/src/c++11/condition_variable.cc b/libstdc++-v3/src/c++11/condition_variable.cc
index c2768eb..d3c7fcd 100644
--- a/libstdc++-v3/src/c++11/condition_variable.cc
+++ b/libstdc++-v3/src/c++11/condition_variable.cc
@@ -23,6 +23,7 @@
// <http://www.gnu.org/licenses/>.
#include <condition_variable>
+#include <cstdlib>
#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)