libspf2
libspf2 copied to clipboard
Six type mismatch errors
spf_dns.c:97:10: warning: case value not in enumerated type 'ns_type' (aka 'enum __ns_type') [-Wswitch]
case ns_t_spf:
^
../../src/include/spf_dns.h:89:18: note: expanded from macro 'ns_t_spf'
#define ns_t_spf 99
^
spf_dns_resolv.c:182:8: warning: case value not in enumerated type 'ns_type' (aka 'enum __ns_type') [-Wswitch]
case ns_t_spf:
^
../../src/include/spf_dns.h:89:18: note: expanded from macro 'ns_t_spf'
#define ns_t_spf 99
^
spf_dns_resolv.c:514:10: warning: case value not in enumerated type 'ns_type' (aka 'enum __ns_type') [-Wswitch]
case ns_t_spf:
^
../../src/include/spf_dns.h:89:18: note: expanded from macro 'ns_t_spf'
#define ns_t_spf 99
^
spf_dns_rr.c:231:9: warning: case value not in enumerated type 'ns_type' (aka 'enum __ns_type') [-Wswitch]
case ns_t_spf:
^
../../src/include/spf_dns.h:89:18: note: expanded from macro 'ns_t_spf'
#define ns_t_spf 99
^
spf_dns_zone.c:281:8: warning: case value not in enumerated type 'ns_type' (aka 'enum __ns_type') [-Wswitch]
case ns_t_spf:
^
../../src/include/spf_dns.h:89:18: note: expanded from macro 'ns_t_spf'
#define ns_t_spf 99
^
spf_utils.c:172:8: warning: case value not in enumerated type 'ns_type' (aka 'enum __ns_type') [-Wswitch]
case ns_t_spf: return "SPF";
^
../../src/include/spf_dns.h:89:18: note: expanded from macro 'ns_t_spf'
#define ns_t_spf 99
^