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

Update CMakeLists.txt: set required std version to gnu++14 #504

Merged
merged 1 commit into from
Aug 2, 2023

Commits on Jul 15, 2023

  1. Update CMakeLists.txt: set required std version to gnu++14

    New googletest 1.13.0 defaults to gnu++14, so makes this package FTBFS when building testsuite with this error:
    
    In file included from /usr/include/gtest/gtest-message.h:57,
                     from /usr/include/gtest/gtest-assertion-result.h:46,
                     from /usr/include/gtest/gtest.h:64,
                     from /build/1st/dlt-daemon-2.18.9/tests/gtest_dlt_user.cpp:27:
    /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.
      270 | #error C++ versions less than C++14 are not supported.
          |  ^~~~~
    
    Thanks Adrian Bunk <bunk@debian.org> for the report and the fix!
    LocutusOfBorg committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    3f8bc33 View commit details
    Browse the repository at this point in the history