[gnu.g++.lib.bug] twrapper.cc in libg++-1.36.3

samtwga@sundc.East.Sun.COM (Bill Aten) (01/23/90)

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

tiemann@SUN.COM (Michael Tiemann) (01/23/90)

    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.

It was a bug on Sun3 for 1.36.3.  Fixed in next release (1.36.4, not
yet released).

Michael