conan-io / cmake-conan

CMake wrapper for conan C and C++ package manager
MIT License
823 stars 250 forks source link

Clang 19 not supported in the default ~/.conan2/settings.yml #672

Open AndreaCicca opened 2 hours ago

AndreaCicca commented 2 hours ago

I have installed the latest version of clang and it is not supported by the default yaml settings

ERROR: Invalid setting '19' is not a valid 'settings.compiler.version' value. Possible values are ['3.3', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '4.0', '5.0', '6.0', '7.0', '7.1', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18'] Read "http://docs.conan.io/2/knowledge/faq.html#error-invalid-setting"

llvm's documentation related to the release of Clang 19

memsharded commented 1 hour ago

https://github.com/conan-io/conan/pull/17010 added support for clang 19 in the default settings.yml, this will be in Conan 2.8.

In the meantime, you can add it to your default settings.yml or define it in settings_user.yml