This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30946] New: classes and structs are interchangeable?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]