]> gcc.gnu.org Git - gcc.git/commitdiff
hash.cc: Guard wchar_t use with _GLIBCXX_USE_WCHAR_T.
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 24 Feb 2005 21:32:53 +0000 (21:32 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 24 Feb 2005 21:32:53 +0000 (21:32 +0000)
2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
wchar_t use with _GLIBCXX_USE_WCHAR_T.

From-SVN: r95514

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/tr1/6_containers/unordered/instantiate/hash.cc

index 76757a8a7997d8236506175ce252a9280bed0b5b..9d342b40d4f3f954337ba732f9fa0f333c7bff8f 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
+       wchar_t use with _GLIBCXX_USE_WCHAR_T.
+
 2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to
index 05838c5bd157c1c2df166697fc6c0d716b8940b1..224ee65cf4c6f572ee90e4f355e06db3e4e9e0f6 100644 (file)
@@ -35,7 +35,6 @@ int main()
   hash<char> hc;
   hash<signed char> hsc;
   hash<unsigned char> huc;
-  hash<wchar_t> hw;
   hash<short> hs;
   hash<int> hi;
   hash<long> hl;
@@ -47,5 +46,9 @@ int main()
   hash<long double> hld;
   hash<void*> hp;
   hash<std::string> hstr;
+
+#ifdef _GLIBCXX_USE_WCHAR_T
+  hash<wchar_t> hw;
   hash<std::wstring> hwstr;
+#endif
 }
This page took 0.062498 seconds and 5 git commands to generate.