[Bug c++/85348] ostringstream with #pragma pack(1) causes stack smashing error
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 11 19:29:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85348
--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #5)
...
> Another alternative would be to implicitly reset the #pragma pack on "entry"
> to every C++ standard header (or even every header), and restore it on
> "exit."
I meant on entry to every system header.
More information about the Gcc-bugs
mailing list