🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1619

Error in IV3.1-diffs for gcc-2.3.3!

#1619
From: Garry M. Paxinos
Date: Wed, 06 Jan 1993 15:32
19 lines
1749 bytes
I'm having some problems compiling Unidraw on SVR4.2 (Univel).  I've
already have libIV built.  Being a C++ neophyte I was hoping someone
could lend a hand.

I've traced thru the maze of includes to find out what is going wrong
with the 'boolean' aka 'osboolean' typedef but haven't been able to
track it down yet.  I do know if I '#include <osfcn.h' at the top of
catalog.c then it compiles fine.  

Below is an excerpt from the compilation:

	g++     -Dcplusplus_2_1  -DMetroLink -DSVR4 -DSYSV386   -I../../../.././src/include    -c ../catalog.c
In file included from /usr/local/lib/g++-include/sys/types.h:15, from /usr/include/unistd.h:84, from /usr/local/lib/g++-include/unistd.h:25, from /usr/local/lib/g++-include/std.h:28, from /usr/local/lib/g++-include/osfcn.h:5, from ../catalog.c:61:
/usr/include/sys/types.h:0: conflicting types for `osboolean'
../../../.././src/include/OS/enter-scope.h:45: previous declaration of `osboolean'
../catalog.c: In method `enum osboolean ivCatalog::Save (class ivEditorInfo*, const char *)':
../catalog.c:376: conflicting types for `enum osboolean ivCatalog::Save (class ivEditorInfo*, const char *)'
../../../.././src/include/Unidraw/catalog.h:68: previous declaration of `unsigned int  ivCatalog::Save (class ivEditorInfo*, const char *)'
Technical Details
Message-ID: <m0n9ckT-000FJaC@ankh.metrolink.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ankh.metrolink.com!pax
References: <garp.726273111@isy.liu.se>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ankh.metrolink.com!pax
From: pax@ankh.metrolink.com (Garry M. Paxinos)
Subject: Error in IV3.1-diffs for gcc-2.3.3!
Message-ID: <m0n9ckT-000FJaC@ankh.metrolink.com>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
References: <garp.726273111@isy.liu.se>
Date: Wed, 6 Jan 1993 15:32:00 GMT
Lines: 19