🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #222

twrapper.cc in libg++-1.36.3

#222
From: Bill Aten
Date: Mon, 22 Jan 1990 18:24
51 lines
3254 bytes
Doug Lea (or whomever?):

Still attempting to get libg++-1.36.3 installed.  To date
I have the following configuration:  Sun 3/60, SunOS 4.0.3, GNU Make 3.57,
gas 1.34, gcc 1.36 and g++ 1.36.3.  I have successfully compiled
the 'src' directory of libg++-1.36.3.  I have been unable to compile the
'tests' directory of libg++-1.36.3 however.  For the record, I have been
successful with g++-1.36.1 and libg++-1.36.1, but no go with the .3 version.

As I've mentioned before, I'm no expert in these areas but I've attached
the output from the compile attempt to help you with debugging.

So if you've got any ideas (fixes), questions, etc.  please let me know.  I'll
help you out in any way possible.
-- 
_____________________________________________________________________________

Bill Aten                     |      UUCP:        ......!sundc!samt19!samtwga
Commercial:  (202) 697-2183   |             (or)  samtwga@samt19.afcsa.af.mil
   Autovon:        227-2183   |  Internet:  samt19!samtwga@sundc.East.Sun.COM
_____________________________________________________________________________
Output from 'make src' as it relates to String.cc:
(P.S.  I wrapped lines greater than 80 chars. to avoid mailer problems)
=============================================================================
(cd tests; gmake checktests GXX="g++"
 GXXFLAGS=" -I/var/tmp2/libg++-1.36.3/g++-include -g -O -fstrength-reduce
 -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized
 -Wall  -pipe" GXXLDFLAGS="-L/var/tmp2/libg++-1.36.3/src -lg++ -lm "
 LIBDIR="/usr/local/lib/gnu" SRCIDIR="/var/tmp2/libg++-1.36.3/g++-include"
 CC="gcc" CFLAGS=" -I/usr/local/lib/gnu/gcc-include -I/usr/include
 -I/var/tmp2/libg++-1.36.3/g++-include -g -O -fstrength-reduce
 -fdelayed-branch  -Wall  -pipe" RANLIB="ranlib"
 LDXX="/usr/local/lib/gnu/gcc-ld" GXXCRT1="/usr/local/lib/gnu/crt1+.o"
 MAKE="gmake" prefix="")
g++ -I/var/tmp2/libg++-1.36.3/g++-include -g -O -fstrength-reduce
 -felide-constructors -fschedule-insns -fdelayed-branch -fsave-memoized  -Wall
 -pipe -c  twrapper.cc
twrapper.cc:
 In function class ostream &operator << (class ostream &,
 class MemoizedIntegerElem &):
twrapper.cc:58: ambiguous type conversion requested for method `operator <<'
twrapper.cc:59: ambiguous type conversion requested for method `operator <<'
twrapper.cc:
 In method class Integer MemoizedInteger::()MemoizedInteger
 (int, auto class Integer (class MemoizedInteger ::*)
 (class Integer ,class Integer ), class Integer, class Integer):
twrapper.cc:234: warning: cannot pass objects of type `Integer' through `...'
twrapper.cc: In function int main (int, char **):
twrapper.cc:296: ambiguous type conversion requested for method `operator <<'
gmake[1]: *** [twrapper.o] Error 1
gmake: *** [tests] Error 1
Technical Details
Message-ID: <9001221924.AA04197@samt19.afcsa.af.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!sundc.East.Sun.COM!samt19!samtwga

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!sundc.East.Sun.COM!samt19!samtwga
From: samt19!samtwga@sundc.East.Sun.COM (Bill Aten)
Newsgroups: gnu.g++.lib.bug
Subject: twrapper.cc in libg++-1.36.3
Message-ID: <9001221924.AA04197@samt19.afcsa.af.mil>
Date: 22 Jan 90 18:24:38 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 51