This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: chew failure on x86_64


On Fri, Jul 22, 2005 at 07:54:55PM -0400, DJ Delorie wrote:
> 
> You can't call malloc without a prototype, when pointers are 64 bits
> and integers are 32 bits.
> 
> 2005-07-22  DJ Delorie  <dj@redhat.com>
> 
> 	* chew.c: Include stdlib.h.

Thanks.  In fact, I didn't realize Kazu's patch left warnings in this
file... We're missing prototypes for memcpy, strlen, and strcpy.

Now that we assume ISO C90, can we use <string.h> unconditionally?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]