home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / help / 1642 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  1.7 KB

  1. Xref: sparky gnu.g++.help:1642 comp.unix.sysv386:17689
  2. Path: sparky!uunet!pipex!warwick!uknet!axion!rtf.bt.co.uk!traub
  3. From: traub@rtf.bt.co.uk (Michael Traub)
  4. Newsgroups: gnu.g++.help,comp.unix.sysv386
  5. Subject: Re: libg++ include file problems under SCO 3.2v4 (i386)
  6. Message-ID: <1993Jan7.144935.5627@rtf.bt.co.uk>
  7. Date: 7 Jan 93 14:49:35 GMT
  8. References: <1993Jan6.191734.12565@wam.umd.edu>
  9. Organization: BT Customer Systems, Brighton, UK
  10. Lines: 33
  11.  
  12. In article <1993Jan6.191734.12565@wam.umd.edu> yml@wam.umd.edu (Yermo Manfred Lamers) writes:
  13. >gcc -g -O -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c CursesW.cc
  14. >In file included from ./CursesW.h:26, from CursesW.cc:30:
  15. >./../g++-include/curses.h:40: parse error before `_c3'
  16.  
  17. You need to #undef lines which was included from term.h. I did this
  18. in tinfo.h as follows:
  19.  
  20.     #if __cplusplus
  21.     #ifdef lines
  22.     #undef lines
  23.     #endif
  24.     #endif
  25.  
  26. >gcc -g -O -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c  procbuf.C
  27. >./../g++-include/signal.h:47: conflicting types for `int  kill (...)'
  28. >./../g++-include/sys/wait.h:32: conflicting types for `short int  waitpid (...)'
  29.  
  30. You need to get the definitions to match. I altered the libg++ include files.
  31.  
  32.  
  33. -- 
  34. Michael Traub
  35. BT Customer Systems, Brighton Systems Centre. traub@btcs.bt.co.uk
  36.  
  37.     JOE, taxi driver: Unemployment will rise and sooner or later the
  38.     masses will revolt against it. There'll be civil disorder and the
  39.     further breakdown of civil society. The end result I hope will be
  40.     the triumph of the people over capitalism. I also wouldn't mind
  41.     if a few more people used taxis this year - '92 was rotten.
  42.  
  43. (Taken from "Hopes and Fears" in The Guardian, December 31st 1992, a
  44. section which looked at what people saw 1993 bringing)
  45.