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

Add the -Wimplicit-fallthrough=0 flag to allow compiling with GCC7 #112

Merged
merged 2 commits into from
Jan 5, 2018

Commits on Jan 3, 2018

  1. Add the -Wimplicit-fallthrough=0 flag to allow compiling with GCC7

    GCC7 comes with a new warning "implicit-fallthrough" which will prevent building the netbsd-src.
    
    For more information: https://dzone.com/articles/implicit-fallthrough-in-gcc-7
    najamelan authored Jan 3, 2018
    Configuration menu
    Copy the full SHA
    3405645 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2018

  1. Make the disabling of the fallthrough warning dependent on GCC version

    This should prevent older gcc versions from choking on unknown argument.
    
    I have not tested this, just wrote the code directly on github. Use with caution.
    najamelan authored Jan 4, 2018
    Configuration menu
    Copy the full SHA
    685f4ab View commit details
    Browse the repository at this point in the history