Article View: comp.sys.amiga.tech
Article #11465Lattice prototype bugs?
From: Rich Carreiro
Date: Sun, 19 Feb 1989 04:58
Date: Sun, 19 Feb 1989 04:58
30 lines
1667 bytes
1667 bytes
I have discovered what I believe to be some errors in the Lattice C
5.02 prototype files.
1) proto/icon.h has AllocWBObject() prototyped as being 'struct WBObject'
and AddFreeList() is prototyped as 'long'
HOWEVER, in the workbench/icon.h include file, they are declared as
struct WBObject *AllocWBObject();
VOID AddFreeList();
I modified proto/icon.h and the Error 72's I had went away.
2) stdlib.h DOES NOT have a prototype for rand(). As a result,
the linker won't pick @rand out of lcr.lib when using the
-rr option to lc (it will pick _rand out of lc.lib, though).
Are these legit bugs or am I being naive?
All answers appreciated!
ARPA: rlcarr@athena.mit.edu
UUCP: {wherever}!mit-eddie!mit-athena!rlcarr
BITNET: rlcarr%athena.mit.edu@MITVMA.mit.edu
*******************************************************************************
* Rich Carreiro "Back off man, I'm a scientist." *
* rlcarr@athena.mit.edu - Dr. Peter Venkman *
*******************************************************************************
Technical Details
Message-ID:
<9334@bloom-beacon.MIT.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!rlcarrShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!athena.mit.edu!rlcarr From: rlcarr@athena.mit.edu (Rich Carreiro) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: Lattice prototype bugs? Summary: 2 potential errors Message-ID: <9334@bloom-beacon.MIT.EDU> Date: 19 Feb 89 04:58:01 GMT Sender: daemon@bloom-beacon.MIT.EDU Reply-To: rlcarr@athena.mit.edu (Rich Carreiro) Followup-To: comp.sys.amiga.tech Organization: Massachusetts Institute of Technology Lines: 30