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.