This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] | |
Are we going to merge libbanshee into mainline with the rest of tree-ssa? In that case we should enable some more warnings... I just noticed the following critical warning (calloc was not prototyped): /cvs/gcc-tree-ssa-20020619-branch/libbanshee/libcompat/radix-tree.c: In function `radix_tree_node_alloc': /cvs/gcc-tree-ssa-20020619-branch/libbanshee/libcompat/radix-tree.c:57: warning: cast to pointer from integer of different size We can fix this with including <stdlib.h>. Ok to commit? I'll bootstrap/regtest on AMD64 now, Andreas 2004-02-29 Andreas Jaeger <aj@suse.de> * libcompat/radix-tree.c: Include <stdlib.h> for calloc. ============================================================ Index: libcompat/radix-tree.c --- libcompat/radix-tree.c 6 May 2003 20:59:24 -0000 1.1.2.1 +++ libcompat/radix-tree.c 29 Feb 2004 08:59:11 -0000 @@ -20,6 +20,7 @@ #include <unistd.h> #include <stdio.h> #include <errno.h> +#include <stdlib.h> #include "radix-tree.h" #define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) /* -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |