PR libstdc++/55631
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2012 22:28:01 +0000 (22:28 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Dec 2012 22:28:01 +0000 (22:28 +0000)
* include/ext/alloc_traits.h: Include missing header.
* include/ext/pointer.h: Likewise.
* include/ext/string_conversions.h: Require C++11.
* libsupc++/initializer_list: Reindent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194429 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/alloc_traits.h
libstdc++-v3/include/ext/pointer.h
libstdc++-v3/include/ext/string_conversions.h
libstdc++-v3/libsupc++/initializer_list

index 34cd0a5..324ef51 100644 (file)
@@ -1,3 +1,11 @@
+2012-12-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/55631
+       * include/ext/alloc_traits.h: Include missing header.
+       * include/ext/pointer.h: Likewise.
+       * include/ext/string_conversions.h: Require C++11.
+       * libsupc++/initializer_list: Reindent.
+
 2012-12-10  Benjamin Kosnik  <bkoz@redhat.com>
 
        * doc/Makefile.am (xml_sources_manual): Add
index a0834c3..b46b0fc 100644 (file)
@@ -32,6 +32,7 @@
 #pragma GCC system_header
 
 #if __cplusplus >= 201103L
+# include <bits/move.h>
 # include <bits/alloc_traits.h>
 #else
 # include <bits/allocator.h>  // for __alloc_swap
index 5592a77..b3c8687 100644 (file)
@@ -43,6 +43,7 @@
 #include <ext/cast.h>
 #include <ext/type_traits.h>
 #if __cplusplus >= 201103L
+# include <bits/move.h>
 # include <bits/ptr_traits.h>
 #endif
 
index f85ab99..7df905f 100644 (file)
 
 #pragma GCC system_header
 
+#if __cplusplus < 201103L
+# include <bits/c++0x_warning.h>
+#else
+
 #include <bits/c++config.h>
 #include <ext/numeric_traits.h>
 #include <bits/functexcept.h>
@@ -98,4 +102,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace
 
+#endif // C++11
+
 #endif // _STRING_CONVERSIONS_H
index 5e2a78b..89add48 100644 (file)
@@ -77,7 +77,7 @@ namespace std
       // One past the last element.
       constexpr const_iterator
       end() const noexcept { return begin() + size(); }
-  };
+    };
 
   /**
    *  @brief  Return an iterator pointing to the first element of