[Bug c++/14124] enum definition with __attribute__((packed)) gives syntax errors

2009-07-22 Thread alex dot gcc dot gnu dot org at firetree dot net
--- Comment #7 from alex dot gcc dot gnu dot org at firetree dot net 2009-07-22 10:57 --- There are still problems with packed enums. John Cooper's example program compiles on g++ 4.3.2, but testEnum2 is still not packed. More details in Bug #39219. -- alex dot gcc dot gnu do

[Bug c++/39219] attribute doesn't work with enums properly

2009-07-22 Thread alex dot gcc dot gnu dot org at firetree dot net
--- Comment #10 from alex dot gcc dot gnu dot org at firetree dot net 2009-07-22 10:55 --- This problem seems to affect all enum attributes that are declared with the "preferred" syntax. For example, the following enum is not packed, not is a warning emitted: enum __a