https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52085
Bernd Edlinger <bernd.edlinger at hotmail dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernd.edlinger at hotmail dot de --- Comment #6 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- note: the enum forward declaration can have an __attribute__((whatever)) but it is completely ignored which would be OK, but there should be at least a warning, "warning: 'whatever' attribute directive ignored [-Wattributes]" example: enum __attribute__ ((whatever)) e1; enum e1 { A } __attribute__ ((__packed__));