This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13983] no warning on some non-POD struct with packed attribute
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2004 17:02:05 -0000
- Subject: [Bug c++/13983] no warning on some non-POD struct with packed attribute
- References: <20040202165443.13983.bkramer@ciprico.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-02 17:02 -------
Actually the warning is correct, the problem is that the warning is not on the other structs for some
reason when it should be as non-POD's ignore the packed attribute.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2004-02-02 17:02:03
date| |
Summary|packed attribute does not |no warning on some non-POD
|take effect when using |struct with packed attribute
|typedef |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13983