Open 90degs2infty opened 1 year ago
The CMakeLists.txt currently reads (line 9):
CMakeLists.txt
set(CMAKE_CXX_STANDARD 17)
When using an old compiler that does not support c++17, CMake will silently fall back to an older standard. This may lead to varying user-experience.
c++17
Consider setting CMAKE_CXX_STANDARD_REQUIRED as well as CMAKE_CXX_EXTENSIONS to ensure usage of c++17 (alongside a defined set of compiler extensions).
CMAKE_CXX_STANDARD_REQUIRED
CMAKE_CXX_EXTENSIONS
The
CMakeLists.txt
currently reads (line 9):When using an old compiler that does not support
c++17
, CMake will silently fall back to an older standard. This may lead to varying user-experience.Consider setting
CMAKE_CXX_STANDARD_REQUIRED
as well asCMAKE_CXX_EXTENSIONS
to ensure usage ofc++17
(alongside a defined set of compiler extensions).