This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: [PATCH] Don't include <malloc.h>


Including <malloc.h> is a no-no.  The FreeBSD <malloc.h> makes GCC
warn about its usage ("use <stdlib.h> instead") which makes a compile
with -Werror fail.  This stuff should be handled properly by our
"defs.h" anyway.

Committed as obvious,

Added to the ari.


Andrew



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