bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: textutils-2.0, rare build problems


From: Bruno Haible
Subject: Re: textutils-2.0, rare build problems
Date: Wed, 29 Nov 2000 15:48:00 +0100 (CET)

Werner Almesberger writes:
> Bruno Haible wrote:
> > > |  - lib/memcoll.c should include sys/types.h for size_t
> > 
> > Or stdlib.h.
> 
> Actually, it's probably stddef.h ;-) Sorry, should have checked
> first.

According to ISO C, any of <stddef.h>, <stdio.h>, <stdlib.h>,
<string.h>, <time.h>, <wchar.h> should be sufficient to get size_t
defined. Pick the one you like best :-)

> > ! #  define memcpy(Dst, Src, Num) (bcopy (Src, Dst, Num), (Dst))
> 
> You're not afraid of things like  memcpy(*dst++,foo,bar)  then ?

No, I have rarely seen memcpy being used that way.

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]