🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1657

Bug in g++ 2.3.3

#1657
From: t2101fs
Date: Tue, 26 Jan 1993 02:18
28 lines
793 bytes
System i386 / SCO 3.2R2
gcc version 2.3.3

Compiling the following file results in an error message:
g++     xxx.cc   -o xxx
xxx.cc: In function `int  main ()':
xxx.cc:15: member `xxx' is private

But B :: xxx () isn't private ....

--- file xxx.cc ---
class A
{
    int xxx;
};

class B : A
{
public:
    void xxx ();
};

main ()
{
    B b;
    b . xxx ();
}
--- end of file xxx.cc ---
Technical Details
Message-ID: <9301251902.AA03323@sun1.lrz-muenchen.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sun1.lrz-muenchen.de!t2101fs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!sun1.lrz-muenchen.de!t2101fs
From: t2101fs@sun1.lrz-muenchen.de
Newsgroups: gnu.gcc.bug
Subject: Bug in g++ 2.3.3
Date: 25 Jan 1993 21:18:40 -0500
Organization: GNUs Not Usenet
Lines: 29
Sender: daemon@cis.ohio-state.edu
Approved: bug-gcc@prep.ai.mit.edu
Distribution: gnu
Message-ID: <9301251902.AA03323@sun1.lrz-muenchen.de>