This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13983] no warning on some non-POD struct with packed attribute


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]