🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #670

compile problems with gcc 2.2.2

#670
From: Johannes Grosen
Date: Wed, 14 Oct 1992 21:48
33 lines
2507 bytes
I'm trying to compile Interviews 3.1-beta3 on a DECstation 5000/240 using
gcc/g++. I have only two errors that are preventing me from getting things
compiled. I'm afraid that my lack of experience with C++ is shooting me
in the foot.... At any rate, here are the two errors that I am getting.
Can anyone suggest how I can eliminate them?

Error #1:
--------
g++     -Dcplusplus_2_1  -Dsigned= -Dvolatile= -DLANGUAGE_C   -I../../../.././src/include -I/usr/local/X11R5/include   -c ../../InterViews/align.c
In file included from ../../../.././src/include/InterViews/layout.h:35, from ../../../.././src/include/InterViews/align.h:32, from ../../InterViews/align.c:29:
../../../.././src/include/InterViews/scrbox.h:80: request for member `impl_' is ambiguous
*** Error code 1

Error #2:
--------
g++     -Dcplusplus_2_1  -Dsigned= -Dvolatile= -DLANGUAGE_C   -I../../../.././src/include -I/usr/local/X11R5/include   -c ../../InterViews/printer.c
In file included from /usr/local/lib/g++-include/stream.h:7, from ../../InterViews/printer.c:38:
/usr/local/lib/g++-include/iostream.h:55: `class ostream& ostream::write (const char *, int)' is already defined in aggregate scope
/usr/local/lib/g++-include/iostream.h:105: `class streambuf::istream& istream::get (char &)' is already defined in aggregate scope
/usr/local/lib/g++-include/iostream.h:110: `class streambuf::istream& istream::read (char *, int)' is already defined in aggregate scope
/usr/local/lib/g++-include/iostream.h:197: `class streambuf::istream& iostream::get (char &)' is already defined in aggregate scope
/usr/local/lib/g++-include/iostream.h:204: `class streambuf::istream& iostream::read (char *, int)' is already defined in aggregate scope
/usr/local/lib/g++-include/iostream.h:246: `class ostream& iostream::write (const char *, int)' is already defined in aggregate scope

Thanks for any help you can provide!

Regards,

-- 
Johannes Grosen
ISC Group System Administrator
401E Minard Hall
North Dakota State University
Technical Details
Message-ID: <Bw4sKp.5GH@ns1.nodak.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!news.u.washington.edu!ns1.nodak.edu!isc.cs.ndsu.nodak.edu!grosen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!news.u.washington.edu!ns1.nodak.edu!isc.cs.ndsu.nodak.edu!grosen
From: grosen@isc.cs.ndsu.nodak.edu (Johannes Grosen)
Newsgroups: comp.windows.interviews
Subject: compile problems with gcc 2.2.2
Message-ID: <Bw4sKp.5GH@ns1.nodak.edu>
Date: 14 Oct 92 21:48:25 GMT
Article-I.D.: ns1.Bw4sKp.5GH
Sender: usenet@ns1.nodak.edu (News login)
Distribution: usa
Organization: Intelligent Systems Cluster
Lines: 33
Nntp-Posting-Host: isc.cs.ndsu.nodak.edu