diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2005-02-24 21:32:53 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2005-02-24 21:32:53 +0000 |
commit | 4b2420b0d350ad4412f415b3464c0cde6039b7fe (patch) | |
tree | ec59c0cae1198bff6b41ca77d6c1cf8c6f1772e8 /libstdc++-v3 | |
parent | 04fa46cf67a24840851ff1078b3091a08834f8ba (diff) | |
download | gcc-4b2420b0d350ad4412f415b3464c0cde6039b7fe.zip gcc-4b2420b0d350ad4412f415b3464c0cde6039b7fe.tar.gz gcc-4b2420b0d350ad4412f415b3464c0cde6039b7fe.tar.bz2 |
hash.cc: Guard wchar_t use with _GLIBCXX_USE_WCHAR_T.
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
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/tr1/6_containers/unordered/instantiate/hash.cc | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 76757a8..9d342b4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 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 _GLIBCXX_USE_C99_COMPLEX. * acinclude.m4: Same. diff --git a/libstdc++-v3/testsuite/tr1/6_containers/unordered/instantiate/hash.cc b/libstdc++-v3/testsuite/tr1/6_containers/unordered/instantiate/hash.cc index 05838c5..224ee65 100644 --- a/libstdc++-v3/testsuite/tr1/6_containers/unordered/instantiate/hash.cc +++ b/libstdc++-v3/testsuite/tr1/6_containers/unordered/instantiate/hash.cc @@ -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 } |