samtools / htslib

C library for high-throughput sequencing data formats
Other
809 stars 446 forks source link

Fix build on ancient versions of gcc #1524

Closed daviesrob closed 1 year ago

daviesrob commented 1 year ago

Default on gcc 4.6 was 'gnu90', which allows some c99 features but not for (int n = 0, ...)

Adds a -std=gnu90 build to the tests so we don't get caught by this again.

Fixes #1523