Path: 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 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