[Bug c++/30946] New: classes and structs are interchangeable?
rosenwad at bxscience dot edu
gcc-bugzilla@gcc.gnu.org
Sat Feb 24 06:06:00 GMT 2007
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
More information about the Gcc-bugs
mailing list