🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1300

more problems compiling 3.1b3 with gcc 2.3.1

#1300
From: David Barr
Date: Fri, 20 Nov 1992 22:10
25 lines
1784 bytes
Here's a sample of the error messages I'm getting now:

g++   -O   -Dcplusplus_2_1 -Div2_6_compatible -Dsigned= -Dvolatile= -DLANGUAGE_C
  -I../../../.././src/include/IV-2_6 -I../../../.././src/include  -I/usr2/local/
lib/g++-include  -c ../ibmenu.c
In file included from /usr2/local/lib/g++-include/stream.h:7, from ../ibmenu.c:6
3:
/usr2/local/lib/g++-include/iostream.h:53: `class ostream& ostream::write (const
 char *, int)' is already defined in class ostream
/usr2/local/lib/g++-include/iostream.h:102: `class istream& istream::get (char &
)' is already defined in class istream
/usr2/local/lib/g++-include/iostream.h:107: `class istream& istream::read (char
*, int)' is already defined in class istream
/usr2/local/lib/g++-include/iostream.h:193: `class istream& iostream::get (char
&)' is already defined in class iostream
/usr2/local/lib/g++-include/iostream.h:200: `class istream& iostream::read (char
 *, int)' is already defined in class iostream
/usr2/local/lib/g++-include/iostream.h:242: `class ostream& iostream::write (con
st char *, int)' is already defined in class iostream
make[5]: *** [ibmenu.o] Error 1

It looks like istream.h and ostream.h include stream.h and stream.h includes
iostream.h.  Is it my gcc headers that are screwed up?

David
Technical Details
Message-ID: <1992Nov20.221059.3904@u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!cs.uoregon.edu!news.uoregon.edu!news.u.washington.edu!stein.u.washington.edu!barr

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!cs.uoregon.edu!news.uoregon.edu!news.u.washington.edu!stein.u.washington.edu!barr
From: barr@stein.u.washington.edu (David Barr)
Subject: more problems compiling 3.1b3 with gcc 2.3.1
Message-ID: <1992Nov20.221059.3904@u.washington.edu>
Sender: news@u.washington.edu (USENET News System)
Organization: University of Washington
Date: Fri, 20 Nov 1992 22:10:59 GMT
Lines: 25