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

Bump C++ version to C++17 #1282

Merged
merged 1 commit into from
Jul 30, 2023
Merged

Commits on Jul 30, 2023

  1. Bump C++ version to C++17

    Protobuf versions since 3.6.0 have long had a C++11 dependency; even
    more recent versions have picked up an Abseil dependency bumping that
    to C++14. Since it is now 2023, defaulting to C++17 is reasonable, so
    remove the conditional C++ standards version check that mosh
    previously had and replace it with an unconditional C++17 check.
    
    This means that all future commits can use C++17 features. According
    to https://en.cppreference.com/w/cpp/compiler_support/17 this means
    that minimum effective compiler versions for mosh become:
    
    gcc 7 (May 2017)
    clang 5 (September 2017)
    
    This, in turn, implies that future versions of mosh will no longer be
    available for RHEL/CentOS 7 (June 2014).
    
    Closes: mobile-shell#1267
    achernya committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    8012ca9 View commit details
    Browse the repository at this point in the history