Thread View: gnu.g++.bug
1 messages
1 total messages
Started by rfg
Thu, 09 Nov 1989 09:11
BUG in G++ 1.36.1-
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads