[Bug c++/60972] Mixing #pragma pack and __attribute__((packed)) leads to spurious warnings.

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 11 05:58:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60972

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |44209

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #1)
> Confirmed. Another problem with the warnings is that there's no flag
> controlling them. I'd expect one of -Wno-packed, -Wno-attributes, or
> -Wno-ignored-attributes to disable the warning, but none of them do so.

That part makes this fall under bug 44209


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44209
[Bug 44209] [meta-bug] Some warnings are not linked to diagnostics options


More information about the Gcc-bugs mailing list