🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2783

Re: Lattice C Header ERROR!

#2783
From: Daniel S. Riley
Date: Wed, 17 Jan 1990 03:04
21 lines
1751 bytes
In article <1990Jan15.020327.13614@athena.mit.edu> rlcarr@space.mit.edu (the Wizard of Speed and Time) writes:
>I have Lattice C 5.04 (haven't applied either the 5.04a or 5.04b patches yet)
>and have discovered that the string.h and stdlib.h have conflicting 
>prototypes in them.  Specifically, one file has various memory functions
>(like memcpy) as taking void *'s while the other file shows them taking
>char *'s.  Which is it?  And have the patches fixed it?

Something must have gone wrong when you installed one of the patches.  I
have 5.04 installed, and memcpy (and the rest of the memory functions) are
defined as void * in both string.h and stdlib.h.  No conflicting
declarations.  If you started out with 5.02 or 5.00, go back and check the 
dates and make sure both were updated correctly.  If you had modified one of
them, you may have to go back to the originals and reapply the patches.
(Ok, actually I have 5.04a, but the 5.04a patch doesn't touch the headers,
it's just library module fixes.)

Of course, if this is a Lattice supplied 5.04 disk (no user applied
patches), then go on flaming.

-Dan Riley (riley@tcgould.tn.cornell.edu, cornell!batcomputer!riley)
-Wilson Laboratory, Cornell University
Technical Details
Message-ID: <9553@batcomputer.tn.cornell.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!batcomputer!riley
References: <1990Jan15.020327.13614@athena.mit.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!batcomputer!riley
From: riley@batcomputer.tn.cornell.edu (Daniel S. Riley)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Lattice C Header ERROR!
Message-ID: <9553@batcomputer.tn.cornell.edu>
Date: 17 Jan 90 03:04:40 GMT
References: <1990Jan15.020327.13614@athena.mit.edu>
Reply-To: riley@tcgould.tn.cornell.edu (Daniel S. Riley)
Organization: Cornell Theory Center, Cornell University, Ithaca NY
Lines: 21