🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #1916

Re: libg++ 2.2

#1916
From: Douglas Scott
Date: Tue, 08 Sep 1992 17:16
41 lines
1765 bytes
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>
Technical Details
Message-ID: <5630@ucsbcsl.ucsb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!network.ucsd.edu!ucsbcsl!foxtrot.ccmrc.ucsb.edu
References: <1992Sep7.025554.13348@msuinfo.cl.msu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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