lh3 / seqtk

Toolkit for processing sequences in FASTA/Q formats
MIT License
1.35k stars 310 forks source link

make warning #179

Closed chenling-immunai closed 2 years ago

chenling-immunai commented 3 years ago

Was installing on a ubuntu machine and ran into this warning. Not sure if this is relevant but just in case:

gcc -g -Wall -O2 -Wno-unused-function seqtk.c -o seqtk -lz -lm
seqtk.c: In function ‘stk_comp’:
seqtk.c:461:16: warning: variable ‘lc’ set but not used [-Wunused-but-set-variable]
    int la, lb, lc, na, nb, nc, cnt[11];
                ^~
KewinOgink commented 2 years ago

Same issue, any solution? Just saw that seqtk is dead. But I could not find the alternative. Is there one?

lh3 commented 2 years ago

Warnings are harmless.

Just saw that seqtk is dead.

Who said it is dead? Rare changes mean seqtk is fairly stable.

KewinOgink commented 2 years ago

https://github.com/carpentries-incubator/hpc-intro/pull/213

Maybe its just a warning and I have a different issue image

lh3 commented 2 years ago

You compiler doesn't work.