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

Disable implicit fallthrough warning when building internal sqlite3 #215

Merged
merged 2 commits into from
Aug 14, 2019

Conversation

richardhozak
Copy link
Contributor

On gcc 7.3 or so, if we have -Wextra enabled, this warning also gets triggered. We cannot do anything about it, so just at least suppress the warning.

@SRombauts
Copy link
Owner

Hi, thanks for the suggestion, but have you seen that it does not compile on older gcc version?

-Wimplicit-fallthrough is available in gcc 7.0 and greater.
@richardhozak
Copy link
Contributor Author

Yeah, you are right, changed it so the warning is disabled only on gcc7 and greater where it is available.

@SRombauts SRombauts merged commit ce4eb18 into SRombauts:master Aug 14, 2019
@SRombauts
Copy link
Owner

Thank you for your contribution!

Sébastien

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.

2 participants