🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1074

minor bug report

#1074
From: dcb
Date: Thu, 05 Nov 1992 11:28
26 lines
1050 bytes
hello there,

Given the following code, on a Sun4, compiled with a derivative of GNU C++
2.2.2


enum X {a , b } ;

class X
{
public :
        X() ;
} ;

Then I get the following error message from the compiler

bug23.cc:5: `X' defined as wrong kind of tag
cc1plus got fatal signal 11 in bug23.cc:5.

I accept that the code is wrong. I think the compiler should not crash,
and I think the error message should be better.

Regards

David C Binderman     Dept US/ESI, Bau 60, SEL-Alcatel AG, Lorenz Strasse 10,
D-7000 Stuttgart 40, Germany      dcb@us-es.sel.de   Tel: +49 711 821 3841
Technical Details
Message-ID: <9211050928.AA05465@us-es.sel.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!hal.com!olivea!charnel!rat!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!us-es.SEl.DE!dcb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!hal.com!olivea!charnel!rat!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!us-es.SEl.DE!dcb
From: dcb@us-es.SEl.DE
Newsgroups: gnu.g++.bug
Subject: minor bug report
Message-ID: <9211050928.AA05465@us-es.sel.de>
Date: 5 Nov 92 11:28:34 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 26
Approved: bug-g++@prep.ai.mit.edu