🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
2 messages
2 total messages Started by Sean McLinden Mon, 31 Aug 1992 06:53
Problems compiling libg++2.2 on HP-UX 8
#246
Author: Sean McLinden
Date: Mon, 31 Aug 1992 06:53
23 lines
1223 bytes
This has got to be a fairly straightforward problem but when attempting to
compile libg++ on hp-ux using gcc-2.2.2 I get the following:


	gcc -g -nostdinc++ -I.. -I. -I./../iostream   -c Obstack.cc
cc1plus: warning: `-g' option not supported on this version of GCC
/usr/include/math.h: In function `int  abs (int)':
In file included from ./builtin.h:33, from Obstack.cc:22:
/usr/include/math.h:185: redefinition of `int  abs (int)'
/usr/include/stdlib.h:62: here is the previous declaration of `int  abs (int)'
./Obstack.h: In method `void  Obstack::grow (const void *, int)':
In file included from Obstack.cc:23:
./Obstack.h:124: warning: implicit declaration of function `bcopy'
*** Error code 1
 
Stop.
*** Error code 1
 
Stop.

Clues would be appreciated.

Thanks.
Re: Problems compiling libg++2.2 on HP-UX 8
#248
Author: bothner
Date: Mon, 31 Aug 1992 12:40
10 lines
886 bytes
> This has got to be a fairly straightforward problem but when attempting to
> compile libg++ on hp-ux using gcc-2.2.2 I get the following:

Yes, this is a staright-forward problem:  The HP include
files are broken.  Ideally, the gcc fixincludes script should
be extended to deal with it;  until then, you need to work
around the problem manually.

	--Per Bothner
Cygnus Support     bothner@cygnus.com
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