I also tried the latest
1.5.7-Beta.1 - same issue.
-- MMEX configuration summary
-- ==========================
-- Version : 1.5.7-Beta.1
-- Host system : Linux x86_64
-- Target system : Linux x86_64
-- Build types :
-- Generator : Unix Makefiles
-- Install prefix : /usr/local
-- DB encryption : ON
--
-- Versions
-- --========--
-- Linux 4.15.0-147-generic
-- Ubuntu 18.04 'bionic'
-- CMake 3.10.2
-- GNU Make 4.1
-- ccache 3.4.1
-- GNU 7.5.0
-- wxWidgets 3.1.5
-- wxSQLite3 4.6.0
-- Lua 5.3.3
-- curl 7.58.0
-- gettext 0.19.8.1
:
Stable version 1.5.6 fails to compile with:
Code: Select all
[...]
moneymanagerex/src/util.cpp:971:93: error: useless cast to type ‘time_t {aka long int}’ [-Werror=useless-cast]
wxDateTime date = wxDateTime(static_cast<time_t>(entry["time"].GetInt64() / 1000)).GetDateOnly();
^
cc1plus: some warnings being treated as errors
src/CMakeFiles/mmex.dir/build.make:1550: recipe for target 'src/CMakeFiles/mmex.dir/util.cpp.o' failed
make[2]: *** [src/CMakeFiles/mmex.dir/util.cpp.o] Error 1