home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!ucsbcsl!foxtrot.ccmrc.ucsb.edu
- From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott)
- Newsgroups: comp.sys.next.misc
- Subject: Re: libg++ 2.2
- Message-ID: <5630@ucsbcsl.ucsb.edu>
- Date: 8 Sep 92 17:16:08 GMT
- References: <1992Sep7.025554.13348@msuinfo.cl.msu.edu>
- Sender: root@ucsbcsl.ucsb.edu
- Reply-To: doug@foxtrot.ccmrc.ucsb.edu
- Distribution: usa
- Lines: 41
-
- In article <1992Sep7.025554.13348@msuinfo.cl.msu.edu> perkins@cps.msu.edu
- (Stephen Perkins) writes:
- ]
- ] I got gcc version 2.2.2 to compile on my NeXT. However, I have not
- ] had much luck with libg++. It seems to bomb out while trying to
- ] compile a file called procbuf.C. Error looks like:
- ]
- ] procbuf.C: In method `int procbuf::sys_close ()':
- ] procbuf.C:91: incompatible pointer types for argument 0 of `int wait
- ] (union wait*)'
- ] **
- ]
- ] I was using gcc(2.2.2). Anybody had better luck than me?? I searched
- ] many places for info on building this thing, but couldn't find much.
- ] BTW, I configured with string "m68k-next-mach".
-
- Here is the patch.
-
- *** procbuf.C.orig Fri Jul 17 14:51:46 1992
- --- procbuf.C Fri Jul 17 14:53:36 1992
- ***************
- *** 79,85 ****
- --- 79,89 ----
- int status = filebuf::sys_close();
- if (status < 0)
- return status;
- + #ifdef NeXT
- + union wait wstatus;
- + #else
- int wstatus;
- + #endif
- #ifdef USE_SIGMASK
- int mask = sigblock(sigmask(SIGINT) | sigmask(SIGQUIT) |
- sigmask(SIGHUP));
- #else
-
- --
- Douglas Scott (805)893-8352
- Center for Computer Music Research and Composition
- University of California, Santa Barbara
- Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
-