[bug] apple-clang compatibility with compiler.version="13"
See original GitHub issueEnvironment Details (include every applicable attribute)
- Operating System+version:
- Compiler+version: apple-clang
- Conan version: >1.46.0
- Python version:
def apple_clang_compatible(self):
# https://github.com/conan-io/conan/pull/10797
# apple-clang compiler version 13 will be compatible with 13.0
if not self.settings.compiler or \
(self.settings.compiler != "apple-clang" and self.settings.compiler.version != "13"):
return
compatible = self.clone()
compatible.settings.compiler.version = "13.0"
return compatible
the if-statement must be changed to:
if not self.settings.compiler or \
(self.settings.compiler != "apple-clang" or self.settings.compiler.version != "13"):
return
and -> or because we want the compatible package, if the compiler==“apple_clang” and compiler.version==“13”, that means, we do not want it, if compiler!=“apple_clang” or compiler.version!=“13”
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Clang 13.0.0 Release Notes
This document contains the release notes for the Clang C/C++/Objective-C frontend, part of the LLVM Compiler Infrastructure, release 13.0.0. Here we describe ...
Read more >Clang linking error MacOS Big Sur
It seems like there is no GCC support in Big Sur (?). I get the same message when I try to build with...
Read more >Apple Clang 13 C++20 Module Support Missing
Is there another way to get modules working OR is there some undocumented C++20 modules limitation with Apple Clang 13? Note: compiling with...
Read more >Clang - Wikipedia
Clang 14, the latest major version of Clang as of March 2022, has full support for all published C++ standards up to C++17,...
Read more >Understanding the different flavors of Clang C and C++ ...
It is also possible to alter the default MSVC compatibility behavior with the compiler option -fms-compatibility-version , which makes clang ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks a lot for the fast fix! Regarding the second thing: I suppose that happens if an identic compatible package is added twice. In my case the apple-clang “13.0” package was added once implicitly by the bug you
ve fixed and once by myself in the package_id() call. I
ll open a new issue, if I can verify the aboveYes, thanks @NoWiseMan for pointing it out !