Closed gevro closed 3 years ago
Error below. Looks like include of string.h is missing.
cc -g -Wall -O3 -std=gnu99 -I../../libBigWig -I../../htslib -D_PBGZF_USE -c bufferedReader.c -o bufferedReader.o bufferedReader.c:188:9: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration] return strcmp(cl_A->chrom, cl_B->chrom); ^ bufferedReader.c:188:9: note: include the header <string.h> or explicitly provide a declaration for 'strcmp' 1 error generated. make[1]: *** [bufferedReader.o] Error 1 make: *** [Wiggletools] Error 2
Hello @gevro ,
Evidently my compiler has been treating this as a warning all along, now fixed.
Cheers,
Daniel
Error below. Looks like include of string.h is missing.