PR libstdc++/91057 fix bootstrap failure on powerpc
PR libstdc++/91057 * src/c++98/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT] (find_ldbl_sync_facet): Fix parameter type and missing return. From-SVN: r276840
This commit is contained in:
parent
e5da0a1d01
commit
9cfc400f3f
@ -1,3 +1,9 @@
|
||||
2019-10-10 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/91057
|
||||
* src/c++98/locale.cc [_GLIBCXX_LONG_DOUBLE_COMPAT]
|
||||
(find_ldbl_sync_facet): Fix parameter type and missing return.
|
||||
|
||||
2019-10-09 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/91364 - P0388R4: Permit conversions to arrays of unknown bound.
|
||||
|
@ -478,7 +478,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
#ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
|
||||
namespace {
|
||||
inline locale::id*
|
||||
find_ldbl_sync_facet(locale::id* __idp)
|
||||
find_ldbl_sync_facet(const locale::id* __idp)
|
||||
{
|
||||
# define _GLIBCXX_SYNC_ID(facet, mangled) \
|
||||
if (__idp == &::mangled) \
|
||||
@ -494,6 +494,7 @@ namespace {
|
||||
_GLIBCXX_SYNC_ID (money_get<wchar_t>, _ZNSt9money_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE2idE);
|
||||
_GLIBCXX_SYNC_ID (money_put<wchar_t>, _ZNSt9money_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE2idE);
|
||||
# endif
|
||||
return 0;
|
||||
}
|
||||
} // namespace
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user