Article View: gnu.g++.lib.bug
Article #220making twrapper on Sun3 OS 3.5
From: David C Lawrence
Date: Fri, 19 Jan 1990 08:10
Date: Fri, 19 Jan 1990 08:10
46 lines
3065 bytes
3065 bytes
I formatted the following for 79 character lines.
/src/gnu/libg++-1.36.3
fs3:src (118) make -j5 -k tests
(cd tests; make checktests GXX="g++" GXXFLAGS=" -I/src/gnu/libg++-1.36.3/
g++-include -g -O -fstrength-reduce -felide-constructors -fschedule-insns -fde
layed-branch -fsave-memoized -Wall -pipe" GXXLDFLAGS="-L/src/gnu/libg++-1.36.
3/src -lg++ -lm " LIBDIR="/usr/local/gnu/lib" SRCIDIR="/src/gnu/libg++-1.36.3/g
++-include" CC="gcc" CFLAGS=" -I/usr/local/gnu/lib/gcc-include -I/usr/include -
I/src/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce -fdelayed-branch -
Wall -pipe" RANLIB="ranlib" LDXX="/usr/local/gnu/lib/gcc-ld" GXXCRT1="/usr/loca
l/gnu/lib/crt1+.o" MAKE="make" prefix="/usr/local/gnu")
g++ -I/src/gnu/libg++-1.36.3/g++-include -g -O -fstrength-reduce -felide-const
ructors -fschedule-insns -fdelayed-branch -fsave-memoized -Wall -pipe -c twr
apper.cc
twrapper.cc: In function class ostream &operator << (class ostream &, class Mem
oizedIntegerElem &):
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, a
uto class Integer (class MemoizedInteger ::*)(class Integer ), class Integer):
twrapper.cc:229: warning: control reaches end of non-void function
twrapper.cc: In method class Integer MemoizedInteger::()MemoizedInteger (int, a
uto class Integer (class MemoizedInteger ::*)(class Integer ,class Integer ), c
lass Integer, class Integer):
twrapper.cc:234: warning: cannot pass objects of type `Integer' through `...'
twrapper.cc:246: warning: control reaches end of non-void function
twrapper.cc: In method class Integer MemoizedInteger::factorial (class Integer)
twrapper.cc:257: warning: control reaches end of non-void function
twrapper.cc: In method class Integer MemoizedInteger::fibonacci (class Integer)
twrapper.cc:276: warning: control reaches end of non-void function
twrapper.cc: In function int main (int, char **):
twrapper.cc:296: ambiguous type conversion requested for method `operator <<'
make[1]: *** [twrapper.o] Error 1
make[1]: Target `checktests' not remade because of errors.
make: *** [tests] Error 1
This is with G++ 1.36.3 based on GCC 1.36.92 with the loop.c and
cexp.y patches applied. I also wrapped the #define KERNEL in
g++-include/sys/file.h with a #ifdef ultrix. That doesn't pertain to
this particular problem with twrapper.cc, but it was necessary to get
this far.
Dave
--
(setq mail '("tale@cs.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))
Technical Details
Message-ID:
<9001190810.AA04813@turing.cs.rpi.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!TURING.CS.RPI.EDU!taleShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!TURING.CS.RPI.EDU!tale From: tale@TURING.CS.RPI.EDU (David C Lawrence) Newsgroups: gnu.g++.lib.bug Subject: making twrapper on Sun3 OS 3.5 Message-ID: <9001190810.AA04813@turing.cs.rpi.edu> Date: 19 Jan 90 08:10:42 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 46