-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
area: buildsystemRelated to our cmake/python buildsystemRelated to our cmake/python buildsystembugBehaving differently as it should behaveBehaving differently as it should behavelang: cmakewritten the CMake buildsystemwritten the CMake buildsystemos: macosmacOS-specific issuemacOS-specific issue
Description
On M4 Macbook. Trying to compile and I got this error when I ran ./configure --compiler="$(brew --prefix llvm)/bin/clang" --download-nyan
The compiler doesn't support required C++20 features:
* Concepts
* Default comparisons
The following versions support these features:
* clang++ >= 10
* g++ >= 10
* Microsoft Visual Studio 2019 >= 16.8
Please upgrade your compiler to build openage.
CMake Error at buildsystem/CheckCompilerFeatures.cmake:57 (message):
aborting
Call Stack (most recent call first):
CMakeLists.txt:174 (include)
I tried this earlier and it seems like it should compile but I am unsure what's going on:
(brew --prefix llvm)/bin/clang++ -std=c++20 /Users/tarek/Downloads/test.cpp -o test_cpp20
tarek@Mac openage % ./test_cpp20
Testing Concept: 6
Testing Comparison (p1 < p2): true
Testing Comparison (p1 == p1): true
Metadata
Metadata
Assignees
Labels
area: buildsystemRelated to our cmake/python buildsystemRelated to our cmake/python buildsystembugBehaving differently as it should behaveBehaving differently as it should behavelang: cmakewritten the CMake buildsystemwritten the CMake buildsystemos: macosmacOS-specific issuemacOS-specific issue