Skip to contentSkip to conversation

iptables warnings on 64 bit

DISCUSSION Patrick McHardy 1 participant 1 message Apr 14, 2008 netfilter

lore
Share & tools
lore
#0 lore raw

It appears your attempts to remove all warnings weren't entirely successful, some of there even appear to be new (like all the field precision warnings). It could also be the case that I simply missed them previously in the noise, I'm not sure:

iptables.c: In function 'print_firewall':
iptables.c:741: warning: passing argument 1 of 'ipt_get_target' discards qualifiers from pointer target type iptables.c: In function 'print_firewall_line':
iptables.c:854: warning: passing argument 1 of 'ipt_get_target' discards qualifiers from pointer target type xtables.c: In function 'load_extension':
xtables.c:321: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:321: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:338: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:338: warning: field precision should have type 'int', but argument 4 has type 'long int' iptables-save.c: In function 'print_rule':
iptables-save.c:223: warning: passing argument 1 of 'ipt_get_target' discards qualifiers from pointer target type iptables.c: In function 'print_firewall':
iptables.c:741: warning: passing argument 1 of 'ipt_get_target' discards qualifiers from pointer target type iptables.c: In function 'print_firewall_line':
iptables.c:854: warning: passing argument 1 of 'ipt_get_target' discards qualifiers from pointer target type xtables.c: In function 'load_extension':
xtables.c:321: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:321: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:338: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:338: warning: field precision should have type 'int', but argument 4 has type 'long int' iptables-save.c: In function 'print_rule':
iptables-save.c:223: warning: passing argument 1 of 'ipt_get_target' discards qualifiers from pointer target type ip6tables.c: In function 'print_firewall':
ip6tables.c:741: warning: passing argument 1 of 'ip6t_get_target' discards qualifiers from pointer target type ip6tables.c: In function 'print_firewall_line':
ip6tables.c:851: warning: passing argument 1 of 'ip6t_get_target' discards qualifiers from pointer target type ip6tables-save.c: In function 'print_rule':
ip6tables-save.c:200: warning: passing argument 1 of 'ip6t_get_target' discards qualifiers from pointer target type ip6tables.c: In function 'print_firewall':
ip6tables.c:741: warning: passing argument 1 of 'ip6t_get_target' discards qualifiers from pointer target type ip6tables.c: In function 'print_firewall_line':
ip6tables.c:851: warning: passing argument 1 of 'ip6t_get_target' discards qualifiers from pointer target type xtables.c: In function 'load_extension':
xtables.c:321: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:321: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:338: warning: field precision should have type 'int', but argument 4 has type 'long int' xtables.c:338: warning: field precision should have type 'int', but argument 4 has type 'long int' ip6tables-save.c: In function 'print_rule':
ip6tables-save.c:200: warning: passing argument 1 of 'ip6t_get_target' discards qualifiers from pointer target type