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

conanfile: set compatibility_cppstd = False. #2860

Merged
merged 1 commit into from
Apr 18, 2024

Commits on Apr 17, 2024

  1. conanfile: set compatibility_cppstr = False.

    The Catch libraries have different API/ABI depending on the c++
    standard they are compiled with. For example, the following function
    isn't in the binary when compiled with C++14, only with C++17 or later:
    
    StringMaker<std::string_view>::convert(std::string_view str);
    
    By default, Conan is allowed to serve Catch libraries compiled in C++14
    into a project using C++17/20, potentially causing linker errors
    because of missing symbols. This PR overrides this default behaviour:
    the C++ standard of the Catch library will exactly match the one of
    the requiring project (building Catch from source if necessary).
    vsaulue committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    38fa5d5 View commit details
    Browse the repository at this point in the history