re PR libstdc++/64367 (g++-v5/stdexcept:52:28: error: invalid use of non-static data member '_M_p')
PR libstdc++/64367 * include/std/stdexcept (__sso_string): Don't use non-static member in sizeof. From-SVN: r221118
This commit is contained in:
parent
d366a1a795
commit
e59a2e945e
@ -1,3 +1,9 @@
|
||||
2015-03-02 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/64367
|
||||
* include/std/stdexcept (__sso_string): Don't use non-static member
|
||||
in sizeof.
|
||||
|
||||
2015-02-28 Matthias Klose <doko@ubuntu.com>
|
||||
|
||||
PR libstdc++/65246
|
||||
|
@ -80,7 +80,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
|
||||
union {
|
||||
__str _M_s;
|
||||
char _M_bytes[sizeof(_M_s)];
|
||||
char _M_bytes[sizeof(__str)];
|
||||
};
|
||||
|
||||
__sso_string() _GLIBCXX_USE_NOEXCEPT;
|
||||
|
Loading…
Reference in New Issue
Block a user