[Olsr-users] no previous prototype for 'olsr_kernel_del_route6'

Mathias Mahnke (spam-protected)
Thu Jan 29 21:37:25 CET 2009


FYI.. after hg clone http://gredler.at/hg/olsrd/

mac:olsrd$ make
[..]
gcc -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-Wsign-compare -Waggregate-return -Wmissing-noreturn
-Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations
-Wendif-labels -Wwrite-strings -Wbad-function-cast -Wpointer-arith
-Wcast-qual -Wshadow -Wsequence-point -Wpointer-arith -Wcast-align
-Wnested-externs -Winline -Wdisabled-optimization -Werror
-funit-at-a-time -finline-limit=350 -O0  -ggdb -Isrc
-DOLSRD_CONF_FILE_NAME='"olsrd.conf"'
-DOLSRD_GLOBAL_CONF_FILE='"/usr/local/etc/olsrd.conf"'  -D__MacOSX__
-DDEBUG    -c -o src/bsd/kernel_routes.o src/bsd/kernel_routes.c
cc1: warnings being treated as errors
src/bsd/kernel_routes.c:397: warning: no previous prototype for
'olsr_kernel_del_route6'
make: *** [src/bsd/kernel_routes.o] Error 1

I guess this is related to this recent change:
http://gredler.at/hg/olsrd/diff/c6a72905834a/src/bsd/kernel_routes.c

Regards
Mathias

PS: I tried the current devoloper version since if seen that my last
working olsrd version ist 0.5.5 which successfully sent out broadcasts /
hellos under Mac OS X. For whatever reason... will have a closer look.




More information about the Olsr-users mailing list