OSDN Git Service

2011-12-05 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Dec 2011 23:16:16 +0000 (23:16 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Dec 2011 23:16:16 +0000 (23:16 +0000)
* libsupc++/initializer_list: Do not declare anything if
__GXX_EXPERIMENTAL_CXX0X__ is not defined.

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

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/initializer_list

index 7b66e6a..ca01b90 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-05  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * libsupc++/initializer_list: Do not declare anything if
+       __GXX_EXPERIMENTAL_CXX0X__ is not defined.
+
 2011-12-04  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        * include/std/type_traits: Doxygen improvements.
index 0e2c58a..6b991b7 100644 (file)
@@ -34,7 +34,7 @@
 
 #ifndef __GXX_EXPERIMENTAL_CXX0X__
 # include <bits/c++0x_warning.h>
-#endif // C++0x
+#else // C++0x
 
 #pragma GCC visibility push(default)
 
@@ -101,4 +101,7 @@ namespace std
 }
 
 #pragma GCC visibility pop
+
+#endif // __GXX_EXPERIMENTAL_CXX0X__
+
 #endif // _INITIALIZER_LIST