We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I met errors when installed mafToFastaStitcher like this:
cd mafToFastaStitcher && make all make[1]: Entering directory '/workspace/home/pig/wangdd/maf/mafTools/mafToFastaStitcher' gcc -std=c99 -Wno-unused-but-set-variable -c src/mafToFastaStitcherAPI.c -o src/mafToFastaStitcherAPI.o.tmp -O3 -Wall -Werror --pedantic -funroll-loops -DNDEBUG -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -I ../../sonLib/lib -I ../inc -I ../external -lm src/mafToFastaStitcherAPI.c: In function ‘writeMafOut’: src/mafToFastaStitcherAPI.c:655:22: error: ‘%lu’ directive writing between 1 and 19 bytes into a region of size 7 [-Werror=format-overflow=] 655 | sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2); | ^~~~~~~ src/mafToFastaStitcherAPI.c:655:27: note: format string is defined here 655 | sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2); src/mafToFastaStitcherAPI.c:655:22: note: directive argument in the range [3, 9223372036854775807] 655 | sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2); | ^~~~~~~ src/mafToFastaStitcherAPI.c:655:5: note: ‘sprintf’ output between 6 and 24 bytes into a destination of size 10 655 | sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:56: src/mafToFastaStitcherAPI.o] Error 1 make[1]: Leaving directory '/workspace/home/pig/wangdd/maf/mafTools/mafToFastaStitcher' make: *** [Makefile:41: mafToFastaStitcher.all] Error 2
how to solve it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I met errors when installed mafToFastaStitcher like this:
cd mafToFastaStitcher && make all make[1]: Entering directory '/workspace/home/pig/wangdd/maf/mafTools/mafToFastaStitcher' gcc -std=c99 -Wno-unused-but-set-variable -c src/mafToFastaStitcherAPI.c -o src/mafToFastaStitcherAPI.o.tmp -O3 -Wall -Werror --pedantic -funroll-loops -DNDEBUG -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -I ../../sonLib/lib -I ../inc -I ../external -lm src/mafToFastaStitcherAPI.c: In function ‘writeMafOut’: src/mafToFastaStitcherAPI.c:655:22: error: ‘%lu’ directive writing between 1 and 19 bytes into a region of size 7 [-Werror=format-overflow=] 655 | sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2); | ^~~~~~~ src/mafToFastaStitcherAPI.c:655:27: note: format string is defined here 655 | sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2); src/mafToFastaStitcherAPI.c:655:22: note: directive argument in the range [3, 9223372036854775807] 655 | sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2); | ^~~~~~~ src/mafToFastaStitcherAPI.c:655:5: note: ‘sprintf’ output between 6 and 24 bytes into a destination of size 10 655 | sprintf(fmtName, " %%-%" PRIu64 "s", maxName + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [Makefile:56: src/mafToFastaStitcherAPI.o] Error 1 make[1]: Leaving directory '/workspace/home/pig/wangdd/maf/mafTools/mafToFastaStitcher' make: *** [Makefile:41: mafToFastaStitcher.all] Error 2
how to solve it?
The text was updated successfully, but these errors were encountered: