wrpearson / fasta36

Git repository for FASTA36 sequence comparison software
Apache License 2.0
117 stars 17 forks source link

make: error: ‘for’ loop initial declarations are only allowed in C99 mode #58

Closed jonathandmoore closed 2 months ago

jonathandmoore commented 1 year ago

I get this error doing make on a Google Cloud instance. All the compiles fail, except for fasta36.

It goes away if I add this to gcc in the Makefile: -std=c99

Would you be amenable to a PR to fix this?

wrpearson commented 2 months ago

-std=c99 has been added to Makefile.linux64_sse2 and other Makefile.linux make files.