[sr-dev] compiler warnings

Juha Heinanen jh at tutpro.com
Fri Dec 16 08:46:46 CET 2011


i just compiled current master branch, and got these warnings:

CC (cc) [L libbinrpc.so.0.1]		binrpc_api.o
binrpc_api.c:70:1: warning: "INT2STR_MAX_LEN" redefined
In file included from ../../modules/ctl/../../ip_addr.h:50,
                 from ../../modules/ctl/init_socks.h:36,
                 from binrpc_api.c:48:
../../modules/ctl/../../ut.h:242:1: warning: this is the location of the previous definition
binrpc_api.c: In function ‘get_reply’:
binrpc_api.c:504: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘int’
binrpc_api.c:504: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘int’

-- juha



More information about the sr-dev mailing list