[ccan] rbtree.c build failure with gcc 4.5.1
Scott Olson
scotto701 at gmail.com
Sun Nov 14 09:50:22 EST 2010
Hi,
I am getting the following warning/error build failure on fedora 14
with gcc-4.5.1
cc1: warnings being treated as errors
ccan/rbtree/rbtree.c: In function ‘tree_destructor_traverse_node’:
ccan/rbtree/rbtree.c:24:2: error: taking address of expression of type ‘void’
ccan/rbtree/rbtree.c:24:2: error: taking address of expression of type ‘void’
ccan/rbtree/rbtree.c:24:2: error: taking address of expression of type ‘void’
ccan/rbtree/rbtree.c:24:2: error: taking address of expression of type ‘void’
ccan/rbtree/rbtree.c:24:2: error: taking address of expression of type ‘void’
ccan/rbtree/rbtree.c:24:2: error: taking address of expression of type ‘void’
ccan/rbtree/rbtree.c:24:2: error: taking address of expression of type ‘void’
make: *** [ccan/rbtree/rbtree.o] Error 1
This doesn't happen on fedora 12 with gcc-4.4.4. I'm not much of a C
programmer so I have no idea how to fix it. I only wanted to mess with
the dns_lookup example program in antithread
-scott
More information about the ccan
mailing list