Closed AngryPenguinPL closed 3 years ago
There's a check in the cmakelist.txt file for gcc
if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
endif()
We only build and test on GCC right now, if you want to build with clang, you have to update that check so we also pass that additional flag when using clang. Pull requests are very welcome :)
Describe the bug When compiling Wargus and War1gus 3.1.0 on OpenMandriva Cooker with Clang 12.0.1 I see this errors.
Full build logs: Wargus: https://file-store.openmandriva.org/api/v1/file_stores/759e5859c600087f1fd2de05638492850df04f82.log?show=true War1gus: https://file-store.openmandriva.org/api/v1/file_stores/82f4bcc32a4d6971adce08aa569ee22ccff3a923.log?show=true
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):