-
Notifications
You must be signed in to change notification settings - Fork 989
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
cmake generator crashes when checking compiler version #1011
Comments
I see a couple of things here. First, the auto-detection of conan is detecting gcc 4.6, which would be the default provided by travis. Unless you are using that compiler, you have to provide the settings you are actually using for your build in your $ conan test_package --build=outdated -s compiler=gcc -s compiler.version=5.4 -s compiler.libcxx=libstdc++ You can also remove the In the build you can read:
Even if not using the C compiler, it is a very good idea to upgrade it same to the CXX compiler, and setting the environment appropriately, it avoids headaches, specially when pulling dependencies that actually are C code. I can see in the build of the library, prior to using conan, problems with FindXXX.cmake of the dependencies:
From the recipe I can read in https://www.conan.io/source/debug_assert/1.1/Manu343726/testing, it seems that you are not Regarding your issue: Yes, there is a single point where It would be very useful if you could print your cmake variables: message(STATUS "CMAKE_CXX_COMPILER_VERSION ${CMAKE_CXX_COMPILER_VERSION}")
message(STATUS "CMAKE_CXX_COMPILER_ID ${CMAKE_CXX_COMPILER_ID}") To help debugging this issue. Thanks for reporting this! |
I'm closing this since it seems fixed in latest releases. Thanks memshardina. |
See https://travis-ci.org/foonathan/type_safe/jobs/203579448#L1231
I think this is related to the compiler version number parsing.
The text was updated successfully, but these errors were encountered: