This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50247] #pragma pack std::set segfault
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 Aug 2011 08:32:04 +0000
- Subject: [Bug c++/50247] #pragma pack std::set segfault
- Auto-submitted: auto-generated
- References: <bug-50247-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50247
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |INVALID
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-31 08:32:04 UTC ---
That's user error, you of course can't do this, #pragma pack before include of
a standard header changes the ABI. You'd need to rebuild everything with the
same change, including libstdc++.