mirror of git://gcc.gnu.org/git/gcc.git
re PR libstdc++/20071 (newlib target testsuite regressions: libstdc++: tr1/6_containers/tuple)
PR libstdc++/20071 * include/tr1/functional (hash<std::wstring>): Wrap in #ifdef _GLIBCXX_USE_WCHAR_T. From-SVN: r95279
This commit is contained in:
parent
09312c2930
commit
967f056dfd
|
|
@ -1,3 +1,9 @@
|
||||||
|
2005-02-19 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
|
PR libstdc++/20071
|
||||||
|
* include/tr1/functional (hash<std::wstring>): Wrap in #ifdef
|
||||||
|
_GLIBCXX_USE_WCHAR_T.
|
||||||
|
|
||||||
2005-02-18 Richard Henderson <rth@redhat.com>
|
2005-02-18 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
PR libstdc++/10606
|
PR libstdc++/10606
|
||||||
|
|
|
||||||
|
|
@ -135,6 +135,7 @@ namespace tr1
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef _GLIBCXX_USE_WCHAR_T
|
||||||
template <>
|
template <>
|
||||||
struct hash<std::wstring>
|
struct hash<std::wstring>
|
||||||
{
|
{
|
||||||
|
|
@ -146,6 +147,7 @@ namespace tr1
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue