Commit e59a2e94 by Jonathan Wakely Committed by Jonathan Wakely

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
parent d366a1a7
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment