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

2019-06-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60972

Eric Gallager  changed:

   What|Removed |Added

 Blocks||44209

--- Comment #3 from Eric Gallager  ---
(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

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

2019-03-11 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60972

Eric Gallager  changed:

   What|Removed |Added

 CC||jason at redhat dot com,
   ||nathan at acm dot org

--- Comment #2 from Eric Gallager  ---
cc-ing C++ FE maintainers

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

2017-08-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60972

Eric Gallager  changed:

   What|Removed |Added

   Keywords||diagnostic
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-08-23
 CC||egallager at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Eric Gallager  ---
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.