Skip to content

Fix build on ancient versions of gcc#1524

Merged
whitwham merged 1 commit into
samtools:developfrom
daviesrob:gnu90_fix
Nov 28, 2022
Merged

Fix build on ancient versions of gcc#1524
whitwham merged 1 commit into
samtools:developfrom
daviesrob:gnu90_fix

Conversation

@daviesrob

Copy link
Copy Markdown
Member

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

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.
@whitwham whitwham merged commit 58abf07 into samtools:develop Nov 28, 2022
@daviesrob daviesrob deleted the gnu90_fix branch December 8, 2022 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

std=c99 required by gcc 4.8.5

2 participants