libchill/memmove.c won't compile

Richard Earnshaw rearnsha@arm.com
Tue May 30 07:01:00 GMT 2000


[Arghh!, Maybe this time I've got all the headers right.. ]

Zack,

Your patch
	2000-05-29  Zack Weinberg  <zack@wolery.cumb.org>

        * concatstr.c, exh.c: Include stdlib.h and string.h.
        * delaycase.c, eqstr.c, memmove.c, printbuffer.c,
        printevent.c, sendbuffer.c, waitbuffer.c: Include string.h.

breaks a cross build on the ARM with Newlib, since the prototype for 
memmove in string.h conflicts with the function definition in memove.c

Why isn't the third argument of memmove (in libchill/memmove.c) of type 
size_t as required by the standard?

R.








More information about the Gcc-bugs mailing list