Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!JUNE.CS.WASHINGTON.EDU!pardo From: pardo@JUNE.CS.WASHINGTON.EDU Newsgroups: gnu.g++.bug Subject: g++ 1.34.2 won't build libg++ 1.34.0 because of libg .h files. Message-ID: <8904282220.AA06437@june.cs.washington.edu> Date: 28 Apr 89 22:20:48 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 35 Version: g++-1.34.2, from yahi.stanford.edu 28 April, 1989. libg++ 1.34.0 from yahi.stanford.edu, long ago. Machine: Vax 8550, Ultrix 2.3 Configured: using config.g++ vax Problem: g++ 1.34.2 fails to compile libg++-1.34.0 because of noisy .h files. G++ 1.34.0 compiled them. I'm trying to build libg++.a. I cd to the root of the libg++ distribution, and type `make libg++.a'. The makefile cd's to `src' and tries to build libg++. There are several files that g++ will not compile because of implicit overloading. \begin{verbatim} cd /bigtmp/dist-libg++-1.34.0/src/ make -k libg++.a g++ -g -O -fchar-charconst -I../g++-include -I.. -fsave-memoized -c Integer.cc ../g++-include/Integer.h:187: friend `even' implicitly overloaded ../g++-include/builtin.h:122: after declaration of non-overloaded `int even (long int)' ../g++-include/Integer.h:188: friend `odd' implicitly overloaded ../g++-include/builtin.h:127: after declaration of non-overloaded `int odd (long int)' *** Error code 1 g++ -g -O -fchar-charconst -I../g++-include -I.. -fsave-memoized -c Rational.cc ../g++-include/Integer.h:187: friend `even' implicitly overloaded ../g++-include/builtin.h:122: after declaration of non-overloaded `int even (long int)' ../g++-include/Integer.h:188: friend `odd' implicitly overloaded ../g++-include/builtin.h:127: after declaration of non-overloaded `int odd (long int)' *** Error code 1 `libg++.a' not remade because of errors Compilation finished at Fri Apr 28 15:09:43 \end{verbatim} More details upon request. ;-D on ( Stick together with Krazy GNU! ) Pardo