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?
For MMEX building from scratch on older platforms, upgrading GCC version might help.
I have seen that.
I am not convinced, that it is a good idea to go with the incomplete C++20.
I'd suggest to stay with C++17 currently till C++20 is completely implemented in gcc and Microsoft compiler.
At that time it will not matter if we lose older systems like Ubuntu 18.04 .