dbcppp
dbcppp copied to clipboard
Compiler silently falls back to older standards
The CMakeLists.txt currently reads (line 9):
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.
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).