CXX20 ? Cannot compile on older systems.
Posted: Sat May 03, 2025 4:55 pm
Hello,
I tried the latest Beta version today and cmake said:
Does this mean I cannot compile MMEX on older systems anymore just because you switch to C++20 now?

I tried the latest Beta version today and cmake said:
-- Module support is disabled.
-- Version: 8.1.1
-- Build type:
-- CXX_STANDARD: 20
-- Performing Test has_std_20_flag
CMake Error in /home/pmaff/Technical/Finance/MMEX/latest/moneymanagerex/build/CMakeFiles/CMakeScratch/TryCompile-6JLYmD/CMakeLists.txt:
Target "cmTC_44e44" requires the language dialect "CXX20" (with compiler
extensions). But the current compiler "GNU" does not support this, or
CMake does not know the flags to enable it.
CMake Error at /usr/local/share/cmake-3.30/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
/usr/local/share/cmake-3.30/Modules/Internal/CheckCompilerFlag.cmake:18 (cmake_check_source_compiles)
/usr/local/share/cmake-3.30/Modules/CheckCXXCompilerFlag.cmake:34 (cmake_check_compiler_flag)
3rd/fmt/support/cmake/cxx14.cmake:12 (check_cxx_compiler_flag)
3rd/fmt/CMakeLists.txt:127 (include)
-- Configuring incomplete, errors occurred!
Does this mean I cannot compile MMEX on older systems anymore just because you switch to C++20 now?