rlcarr@athena.mit.edu (Rich Carreiro) (02/19/89)
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 * *******************************************************************************