libspf2 icon indicating copy to clipboard operation
libspf2 copied to clipboard

Six type mismatch errors

Open hdatma opened this issue 3 years ago • 0 comments


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
                       ^

hdatma avatar Oct 13 '21 17:10 hdatma