2014-10-24 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/atomic_base.h: Avoid including <stdbool.h>.
* include/std/atomic: When __cplusplus < 201103L skip the rest of
the header.
* testsuite/29_atomics/headers/atomic/std_c++0x_neg.cc: Adjust.
From-SVN: r216667
+2014-10-24 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * include/bits/atomic_base.h: Avoid including <stdbool.h>.
+ * include/std/atomic: When __cplusplus < 201103L skip the rest of
+ the header.
+ * testsuite/29_atomics/headers/atomic/std_c++0x_neg.cc: Adjust.
+
2014-10-23 François Dumont <fdumont@gcc.gnu.org>
* testsuite/25_algorithms/make_heap/complexity.cc: Add missing test
#pragma GCC system_header
#include <bits/c++config.h>
-#include <stdbool.h>
#include <stdint.h>
#include <bits/atomic_lockfree_defines.h>
#if __cplusplus < 201103L
# include <bits/c++0x_warning.h>
-#endif
+#else
#include <bits/atomic_base.h>
_GLIBCXX_END_NAMESPACE_VERSION
} // namespace
-#endif
+#endif // C++11
+
+#endif // _GLIBCXX_ATOMIC
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-#include <atomic> // { dg-excess-errors "In file included from" }
+#include <atomic>
// { dg-error "ISO C.. 2011" "" { target *-*-* } 32 }