wyp1125 / MCScanX

MCScanX: Multiple Collinearity Scan toolkit X version. The most popular synteny analysis tool in the world!
http://chibba.pgml.uga.edu/mcscan2/
218 stars 60 forks source link

Issues during installation #74

Open AlbertoBernacchi opened 5 months ago

AlbertoBernacchi commented 5 months ago

I'm having this error, please help me fix this. Thank you all

mcscan.cc:140:26: warning: ‘.collinearity’ directive writing 13 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 140 | sprintf(align_fn, "%s.collinearity", prefix_fn); | ^~~~~ mcscan.cc:140:12: note: ‘sprintf’ output between 14 and 213 bytes into a destination of size 200 140 | sprintf(align_fn, "%s.collinearity", prefix_fn); | ~^~~~~~~~~~ g++ struct.cc mcscan_h.cc read_homology.cc out_homology.cc dagchainer.cc msa.cc permutation.cc -o MCScanX_h mcscan_h.cc: In function ‘int main(int, char**)’: mcscan_h.cc:156:26: warning: ‘.collinearity’ directive writing 13 bytes into a region of size between 1 and 200 [-Wformat-overflow=] 156 | sprintf(align_fn, "%s.collinearity", prefix_fn); | ^~~~~ mcscan_h.cc:156:12: note: ‘sprintf’ output between 14 and 213 bytes into a destination of size 200 156 | sprintf(align_fn, "%s.collinearity", prefix_fn); | ~^~~~~~~~~~