------- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-06 14:06 ------- Not a bug: >From C99, 6.9.2/3 says: If the declaration of an identifier for an object is a tentative definition and has internal linkage, the declared type shall not be an incomplete type. ------ This is a tentative definition and is internal linkage and in this case the type incomplete so it is invalid code which is correctly rejected.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26581