From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17976 invoked by alias); 24 Feb 2007 06:06:17 -0000 Received: (qmail 17959 invoked by uid 48); 24 Feb 2007 06:06:08 -0000 Date: Sat, 24 Feb 2007 06:06:00 -0000 Subject: [Bug c++/30946] New: classes and structs are interchangeable? X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rosenwad at bxscience dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg02742.txt.bz2 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