aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2008-06-06 16:03:52 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2008-06-06 16:03:52 +0100
commit8b34d6c2bfcf7e70d3ab0909cb73ba347f47160e (patch)
tree352247148facfd40800bdc0e85bf8efbe6364151
parentd0ae31b09e53f18cf51bd9015b8300bef3353e43 (diff)
downloadgcc-8b34d6c2bfcf7e70d3ab0909cb73ba347f47160e.zip
gcc-8b34d6c2bfcf7e70d3ab0909cb73ba347f47160e.tar.gz
gcc-8b34d6c2bfcf7e70d3ab0909cb73ba347f47160e.tar.bz2
all.cc, [...]: Only include <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if...
* testsuite/17_intro/headers/all.cc, testsuite/17_intro/headers/all_c++200x_compatibility.cc, testsuite/17_intro/headers/all_pedantic_errors.cc, testsuite/ext/headers.cc: Only include <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if _GLIBCXX_HAVE_ICONV. From-SVN: r136485
-rw-r--r--libstdc++-v3/ChangeLog9
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/all.cc4
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/all_c++200x_compatibility.cc4
-rw-r--r--libstdc++-v3/testsuite/17_intro/headers/all_pedantic_errors.cc4
-rw-r--r--libstdc++-v3/testsuite/ext/headers.cc4
5 files changed, 25 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 0f2e56c..5f720d8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,12 @@
+2008-06-06 Joseph Myers <joseph@codesourcery.com>
+
+ * testsuite/17_intro/headers/all.cc,
+ testsuite/17_intro/headers/all_c++200x_compatibility.cc,
+ testsuite/17_intro/headers/all_pedantic_errors.cc,
+ testsuite/ext/headers.cc: Only include
+ <ext/codecvt_specializations.h> and <ext/enc_filebuf.h> if
+ _GLIBCXX_HAVE_ICONV.
+
2008-06-05 Johannes Singler <singler@ira.uka.de>
* include/parallel/random_shuffle.h:
diff --git a/libstdc++-v3/testsuite/17_intro/headers/all.cc b/libstdc++-v3/testsuite/17_intro/headers/all.cc
index 662bad6..706e4cf 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/all.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/all.cc
@@ -112,10 +112,14 @@
#include <ext/array_allocator.h>
#include <ext/atomicity.h>
#include <ext/bitmap_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/codecvt_specializations.h>
+#endif
#include <ext/concurrence.h>
#include <ext/debug_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/enc_filebuf.h>
+#endif
#include <ext/functional>
#include <ext/iterator>
#include <ext/malloc_allocator.h>
diff --git a/libstdc++-v3/testsuite/17_intro/headers/all_c++200x_compatibility.cc b/libstdc++-v3/testsuite/17_intro/headers/all_c++200x_compatibility.cc
index 9410805..9ba46cf 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/all_c++200x_compatibility.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/all_c++200x_compatibility.cc
@@ -113,10 +113,14 @@
#include <ext/array_allocator.h>
#include <ext/atomicity.h>
#include <ext/bitmap_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/codecvt_specializations.h>
+#endif
#include <ext/concurrence.h>
#include <ext/debug_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/enc_filebuf.h>
+#endif
#include <ext/functional>
#include <ext/iterator>
#include <ext/malloc_allocator.h>
diff --git a/libstdc++-v3/testsuite/17_intro/headers/all_pedantic_errors.cc b/libstdc++-v3/testsuite/17_intro/headers/all_pedantic_errors.cc
index 2b72a39..955afef 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/all_pedantic_errors.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/all_pedantic_errors.cc
@@ -113,10 +113,14 @@
#include <ext/array_allocator.h>
#include <ext/atomicity.h>
#include <ext/bitmap_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/codecvt_specializations.h>
+#endif
#include <ext/concurrence.h>
#include <ext/debug_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/enc_filebuf.h>
+#endif
#include <ext/functional>
#include <ext/iterator>
#include <ext/malloc_allocator.h>
diff --git a/libstdc++-v3/testsuite/ext/headers.cc b/libstdc++-v3/testsuite/ext/headers.cc
index a1bdbb3..d4c079e 100644
--- a/libstdc++-v3/testsuite/ext/headers.cc
+++ b/libstdc++-v3/testsuite/ext/headers.cc
@@ -28,10 +28,14 @@
#include <ext/array_allocator.h>
#include <ext/atomicity.h>
#include <ext/bitmap_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/codecvt_specializations.h>
+#endif
#include <ext/concurrence.h>
#include <ext/debug_allocator.h>
+#if _GLIBCXX_HAVE_ICONV
#include <ext/enc_filebuf.h>
+#endif
#include <ext/functional>
#include <ext/iterator>
#include <ext/malloc_allocator.h>