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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org,
                   |                            |steven.spark at gmail dot com
            Summary|class with a class          |class with a class
                   |reference member generates  |reference member generates
                   |unjustified warning         |a warning that ought to be
                   |                            |disableable with -Wpacked

--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #6)
> (In reply to Szikra from comment #5)
> > (In reply to Jonathan Wakely from comment #4)
> > > Because the warning isn't controlled by the -Wpacked option. If it was, it
> > > would say [-Wpacked] after the warning. I think that's a bug, every 
> > > warning
> > > should be controlled by some -Wxxx option.
> > 
> > Thanks, good to know. So does this require a separate bug report, or can
> > someone change the status and confirm this one?
> 
> Confirmed that the warning should be controlled by -Wpacked.

Updating the title accordingly.
  • [Bug c++/58798] class with a cla... egallager at gcc dot gnu.org via Gcc-bugs

Reply via email to