The following will compile with no problem. ___________________________________________
class character { //bah }; struct character enemy; ___________________________________________ So will ___________________________________________ struct character { //bah }; class character enemy; ___________________________________________ -- Summary: classes and structs are interchangeable? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rosenwad at bxscience dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30946