Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set language standard to GNU99 #35

Merged
merged 1 commit into from
Aug 26, 2021
Merged

Set language standard to GNU99 #35

merged 1 commit into from
Aug 26, 2021

Conversation

tymcauley
Copy link
Contributor

Resolves #34

@Conni2461
Copy link
Member

can we do this only for the library and not for the tests? I dont have time to deal with these issue right now

This fixes building with older C compilers.

Using GNU99 rather than C99 so that calls to 'typeof()' in the
'examiner' library can work.
@tymcauley
Copy link
Contributor Author

tymcauley commented Aug 26, 2021

Looks like using GNU99 rather than C99 fixes building the test target (at least for me), but if that doesn't work in CI (or if you'd just prefer) then I can move the flag change into the build/$(TARGET) rule.

@tymcauley tymcauley changed the title Set language standard to C99 Set language standard to GNU99 Aug 26, 2021
@Conni2461
Copy link
Member

thanks :) gnu99 is a good idea :) CI works here

@Conni2461 Conni2461 merged commit 90bb28d into nvim-telescope:main Aug 26, 2021
@tymcauley
Copy link
Contributor Author

Awesome, thank you!

@tymcauley tymcauley deleted the feature/use-c99 branch August 26, 2021 15:47
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.

Compile error: many features require C99 language standard
2 participants