Skip to content

Conversation

SoilRos
Copy link
Member

@SoilRos SoilRos commented Aug 25, 2025

Clang 16 is perfectly capable of compiling the current code base. The actual constraint is the standard library being used (see #12655 (comment)), but there is no CMake feature to test the standard library version. Thus, this commit makes this requirement explicit in the documentation, and implicit in the build system.

Clang 16 is perfectly capable of compiling the current code base. The actual constraint is the standard library being used, but there is no CMake feature to test the standard library version. Thus, this commit makes this requirement explicit in the documentation, and implicit in the build system.
@magnesj
Copy link
Member

magnesj commented Sep 2, 2025

Thanks for your suggestion. I think that you mix Apple Clang version with Clang version, and we struggle to keep the documentation as compact as possible. At this point our major supported systems are Windows and Linux, we might add more documentation and support for Apple/Mac later.

https://en.cppreference.com/w/cpp/compiler_support.html

@magnesj magnesj closed this Sep 2, 2025
@@ -33,10 +33,10 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
endif()

if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@magnesj Ah thanks, you are absolutely right about the AppleClang Version! Meaning that this line is overdelivering: It should be STREQUAL instead of MATCHES, otherwise it wrongly matches with AppleClang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants