Error:
cc -DMASSDNS_REVISION=\"v1.0.0-65-g2cee317\" -O3 -std=c11 -Wall -fstack-protector-strong src/main.c -o bin/massdns In file included from src/dns.h:12, from src/massdns.h:22, from src/main.c:9: src/string.h: In function ‘trim_start’: src/string.h:56:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 56 | if(!isspace(*str)) | ^~~~ src/string.h: In function ‘trim_end’: src/string.h:70:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | if(!isspace(*last)) | ^~~~~ src/string.h: In function ‘json_escape_str’: src/string.h:146:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] 146 | if(isprint(src[i])) \ | ~~~^~~ src/string.h:168:5: note: in expansion of macro ‘json_escape_body’ 168 | json_escape_body(src[i] != 0);
Error:
cc -DMASSDNS_REVISION=\"v1.0.0-65-g2cee317\" -O3 -std=c11 -Wall -fstack-protector-strong src/main.c -o bin/massdns In file included from src/dns.h:12, from src/massdns.h:22, from src/main.c:9: src/string.h: In function ‘trim_start’: src/string.h:56:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 56 | if(!isspace(*str)) | ^~~~ src/string.h: In function ‘trim_end’: src/string.h:70:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | if(!isspace(*last)) | ^~~~~ src/string.h: In function ‘json_escape_str’: src/string.h:146:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] 146 | if(isprint(src[i])) \ | ~~~^~~ src/string.h:168:5: note: in expansion of macro ‘json_escape_body’ 168 | json_escape_body(src[i] != 0);