Article View: gnu.g++.bug
Article #372friend class bug in v1.36.0-, Sun 4, SunOS 4.0
From: Robert Kennedy
Date: Thu, 24 Aug 1989 17:04
Date: Thu, 24 Aug 1989 17:04
20 lines
1431 bytes
1431 bytes
The latest version of v1.36.0- seems to have a problem with the friend class declaration semantics. The libg++ file Fix16.cc will not compile, for example. Here is the stdio/stderr output from the compiler: g++ version 1.36.0- /import/lib/gcc-cpp -+ -v -undef -D__GNU__ -D__GNUG__ -D__GNUC__ -D__cplusplus -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ Fix16.cc /tmp/cca12586.cpp GNU CPP version 1.35.96 /import/lib/gcc-cc1plus /tmp/cca12586.cpp -quiet -dumpbase Fix16.cc -noreg -version -o /tmp/cca12586.s GNU C++ version 1.36.0- (sparc) compiled by GNU C version 1.35.96. default target switches: -mfpu -mepilogue /import/lib/g++-include/Fix16.h: In function class Fix32 operator * (class Fix16 &, class Fix16 &): In file included from Fix16.cc:29: /import/lib/g++-include/Fix16.h:296: constructor `Fix32::Fix32 (long int)' is private I assume that since this source is common knowledge, I don't need to include it here. -- Robert Kennedy
Technical Details
Message-ID:
<CMM.0.88.619981490.robert@Neon.Stanford.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!NEON.STANFORD.EDU!robertShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!NEON.STANFORD.EDU!robert From: robert@NEON.STANFORD.EDU (Robert Kennedy) Newsgroups: gnu.g++.bug Subject: friend class bug in v1.36.0-, Sun 4, SunOS 4.0 Message-ID: <CMM.0.88.619981490.robert@Neon.Stanford.EDU> Date: 24 Aug 89 17:04:50 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: Robert Kennedy <robert@neon.stanford.edu> Distribution: gnu Organization: GNUs Not Usenet Lines: 20