http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55530
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-12-09 Ever Confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-09 01:54:20 UTC --- The warning happens when the struct at definition time rather than at the end of compilation. Maybe we should warn about the case where the forward declaration and definitions are two different visibility.