Open akast opened 7 years ago
~/socketcand# make gcc -Wall -Wno-parentheses -DPF_CAN=29 -DAF_CAN=PF_CAN -DHAVE_CONFIG_H -I . -I ./include -o socketcand ./socketcand.c ./statistics.c ./beacon.c ./state_bcm.c ./state_raw.c ./state_isotp.c ./state_control.c -lpthread gcc -Wall -Wno-parentheses -DPF_CAN=29 -DAF_CAN=PF_CAN -DHAVE_CONFIG_H -I . -I ./include -o socketcandcl ./socketcandcl.c ./socketcandcl.c: In function ‘main’: ./socketcandcl.c:179:24: warning: ‘sigset’ may be used uninitialized in this function [-Wmaybe-uninitialized] sigint_action.sa_mask = sigset;
@akast could you test the referenced PR? Thanks.
See new upstream repository https://github.com/linux-can/socketcand
~/socketcand# make gcc -Wall -Wno-parentheses -DPF_CAN=29 -DAF_CAN=PF_CAN -DHAVE_CONFIG_H -I . -I ./include -o socketcand ./socketcand.c ./statistics.c ./beacon.c ./state_bcm.c ./state_raw.c ./state_isotp.c ./state_control.c -lpthread gcc -Wall -Wno-parentheses -DPF_CAN=29 -DAF_CAN=PF_CAN -DHAVE_CONFIG_H -I . -I ./include -o socketcandcl ./socketcandcl.c ./socketcandcl.c: In function ‘main’: ./socketcandcl.c:179:24: warning: ‘sigset’ may be used uninitialized in this function [-Wmaybe-uninitialized] sigint_action.sa_mask = sigset;