-
Notifications
You must be signed in to change notification settings - Fork 380
Open
Description
I don't know whether this is a bug or feature. For me this behavior looks strange. Reordering options in profile ([settings] section) may lead to ERROR.
Environment Details (include every applicable attribute)
- Operating System+version: Windows 11
- Compiler+version: Visual Studio 17
- Conan version: 1.53.0
- Python version: 3.9.1
Steps to reproduce (Include if Applicable)
- check that default profile contains compiler and compiler version
[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=17
build_type=Release
[options]
[build_requires]
[env]
-
Check that installation works on any package
conan install -r conancenter utfcpp/3.2.1@ -pr:b=default -pr:h=default -
Remove compiler from profile and add the same value. Conan will add this option to the end
conan profile remove settings.compiler default
conan profile update "settings.compiler=Visual Studio" default
- Try installation with same options again
conan install -r conancenter utfcpp/3.2.1@ -pr:b=default -pr:h=default
ERROR: compiler not defined for compiler.version
Please define compiler value first too
slavust