tale@TURING.CS.RPI.EDU (David C Lawrence) (01/19/90)
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"))