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

_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to