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/52085] sizeof packed enum can vary without warning depending on include order


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52085

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 06:14:55 UTC ---
http://gcc.gnu.org/onlinedocs/gcc-4.6.2/gcc/Incomplete-Enums.html#Incomplete-Enums

>From the sound of it, the declaration using the incomplete enum should have
been rejected.


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