🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

g++ visibility bug

#1460
From: ekrell
Date: Thu, 29 Sep 1988 14:31
8 lines
548 bytes
the following program compiles with g++ 1.27 (and with cfront 1.2),
but fails on cfront 2.0 and it's clearly illegal c++ code.

class B {
private:	B();
};

B *foo() {return new B;}
Technical Details
Message-ID: <8809291431.AA18814@hector.homer.nj.att.com>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!ulysses.att.com!ekrell

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!ulysses.att.com!ekrell
From: ekrell@ulysses.att.com
Newsgroups: gnu.g++.bug
Subject: g++ visibility bug
Message-ID: <8809291431.AA18814@hector.homer.nj.att.com>
Date: 29 Sep 88 14:31:57 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 8