home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / misc / 19412 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!ucsbcsl!foxtrot.ccmrc.ucsb.edu
  2. From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott)
  3. Newsgroups: comp.sys.next.misc
  4. Subject: Re: libg++ 2.2
  5. Message-ID: <5630@ucsbcsl.ucsb.edu>
  6. Date: 8 Sep 92 17:16:08 GMT
  7. References: <1992Sep7.025554.13348@msuinfo.cl.msu.edu>
  8. Sender: root@ucsbcsl.ucsb.edu
  9. Reply-To: doug@foxtrot.ccmrc.ucsb.edu
  10. Distribution: usa
  11. Lines: 41
  12.  
  13. In article <1992Sep7.025554.13348@msuinfo.cl.msu.edu> perkins@cps.msu.edu  
  14. (Stephen Perkins) writes:
  15. ] I got gcc version 2.2.2 to compile on my NeXT.  However, I have not
  16. ] had much luck with libg++.  It seems to bomb out while trying to
  17. ] compile a file called procbuf.C.  Error looks like:
  18. ]    procbuf.C: In method `int  procbuf::sys_close ()':
  19. ]    procbuf.C:91: incompatible pointer types for argument 0 of `int  wait
  20. ]    (union wait*)'
  21. ]    **
  22. ] I was using gcc(2.2.2). Anybody had better luck than me?? I searched
  23. ] many places for info on building this thing, but couldn't find much.
  24. ] BTW, I configured with string "m68k-next-mach".
  25.  
  26. Here is the patch.
  27.  
  28. *** procbuf.C.orig    Fri Jul 17 14:51:46 1992
  29. --- procbuf.C    Fri Jul 17 14:53:36 1992
  30. ***************
  31. *** 79,85 ****
  32. --- 79,89 ----
  33.       int status = filebuf::sys_close();
  34.       if (status < 0)
  35.       return status;
  36. + #ifdef NeXT
  37. +     union wait wstatus;
  38. + #else
  39.       int wstatus;
  40. + #endif
  41.   #ifdef USE_SIGMASK
  42.       int mask = sigblock(sigmask(SIGINT) | sigmask(SIGQUIT) |  
  43. sigmask(SIGHUP));
  44.   #else
  45.  
  46. --
  47. Douglas Scott                              (805)893-8352
  48. Center for Computer Music Research and Composition
  49. University of California, Santa Barbara
  50. Internet: (NeXTMail ok)   <doug@foxtrot.ccmrc.ucsb.edu>
  51.