🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by pardo Fri, 28 Apr 1989 22:20
g++ 1.34.2 won't build libg++ 1.34.0 because of libg .h files.
#1916
Author: pardo
Date: Fri, 28 Apr 1989 22:20
35 lines
2039 bytes
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
Re: g++ 1.34.2 won't build libg++ 1.34.0 because of libg .h files.
#1930
Author: Kevin Sheehan {Consulting Poster...
Date: Tue, 02 May 1989 04:37
10 lines
916 bytes
Whew - this was my first shot at g++, so I thought it was something I
did.

At any rate, sun3-4.0 gcc 1.35, g++ 1.34.2, libg++ 1.34.0 and I get
the same 'friend even' errors in making libg++ - I'll provide details
if someone wants it.  In the meantime, is there some other version of
the above that I can use as a workaround?

	l & h,
	kev
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads