Article View: gnu.g++.help
Article #667Re: libg++ include file problems under SCO 3.2v4 (i386)
From: Michael Traub
Date: Thu, 07 Jan 1993 14:49
Date: Thu, 07 Jan 1993 14:49
33 lines
1750 bytes
1750 bytes
In article <1993Jan6.191734.12565@wam.umd.edu> yml@wam.umd.edu (Yermo Manfred Lamers) writes:
>gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include -c CursesW.cc
>In file included from ./CursesW.h:26, from CursesW.cc:30:
>./../g++-include/curses.h:40: parse error before `_c3'
You need to #undef lines which was included from term.h. I did this
in tinfo.h as follows:
#if __cplusplus
#ifdef lines
#undef lines
#endif
#endif
>gcc -g -O -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c procbuf.C
>./../g++-include/signal.h:47: conflicting types for `int kill (...)'
>./../g++-include/sys/wait.h:32: conflicting types for `short int waitpid (...)'
You need to get the definitions to match. I altered the libg++ include files.
--
Michael Traub
BT Customer Systems, Brighton Systems Centre. traub@btcs.bt.co.uk
JOE, taxi driver: Unemployment will rise and sooner or later the
masses will revolt against it. There'll be civil disorder and the
further breakdown of civil society. The end result I hope will be
the triumph of the people over capitalism. I also wouldn't mind
if a few more people used taxis this year - '92 was rotten.
(Taken from "Hopes and Fears" in The Guardian, December 31st 1992, a
section which looked at what people saw 1993 bringing)
Technical Details
Message-ID:
<1993Jan7.144935.5627@rtf.bt.co.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!uknet!axion!rtf.bt.co.uk!traubReferences:
<1993Jan6.191734.12565@wam.umd.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!warwick!uknet!axion!rtf.bt.co.uk!traub From: traub@rtf.bt.co.uk (Michael Traub) Newsgroups: gnu.g++.help,comp.unix.sysv386 Subject: Re: libg++ include file problems under SCO 3.2v4 (i386) Message-ID: <1993Jan7.144935.5627@rtf.bt.co.uk> Date: 7 Jan 93 14:49:35 GMT References: <1993Jan6.191734.12565@wam.umd.edu> Organization: BT Customer Systems, Brighton, UK Lines: 33