🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

bug report

#1218
From: dcb
Date: Thu, 19 Nov 1992 19:23
26 lines
926 bytes
Hello there,

Given the following code

class A
{
public :
        A() ;
        ~A() ;
private :
} ;

struct A1 {
                int A::*        p ;
} ;

static A1       tbl[] ;

then I think the last line is illegal, and most of the compilers
I have access to agree with me. GNU 2.2.2 and GNU 2.3.1 think the code
is ok. I didn't bother checking with the ARM, this time.

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: <9211191723.AA16666@us-es.sel.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!us-es.SEl.DE!dcb

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!us-es.SEl.DE!dcb
From: dcb@us-es.SEl.DE
Subject: bug report
Message-ID: <9211191723.AA16666@us-es.sel.de>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 19 Nov 1992 19:23:20 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 27