Article View: gnu.g++.bug
Article #564BUG in G++ 1.36.1-
From: rfg
Date: Thu, 09 Nov 1989 09:11
Date: Thu, 09 Nov 1989 09:11
17 lines
840 bytes
840 bytes
This may have been fixed in the "official" g++ 1.36.1, but it seems that
if you say:
class friendly {
int splat;
public:
friend class foo, bar;
};
neither of the classes foo or bar will get visibility to splat. It is
almost as if the friend declaration had turned into a compile-time NO-OP.
If on the other hand, you had written the friend class declaration as
two separate declarations, then it works correctly (i.e. as expected).
// rfg
Technical Details
Message-ID:
<8911090112.aa13029@ICS.UCI.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ICS.UCI.EDU!rfgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ICS.UCI.EDU!rfg From: rfg@ICS.UCI.EDU Newsgroups: gnu.g++.bug Subject: BUG in G++ 1.36.1- Message-ID: <8911090112.aa13029@ICS.UCI.EDU> Date: 9 Nov 89 09:11:50 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17