Build Error with Rev 6151
Posted: Fri Feb 21, 2014 9:04 pm
Following the instructions in the thread ob building mmex under linux, I checked out revision 6151 from http://svn.code.sf.net/p/moneymanagerex ... on_1.0.0.0. I also install the wxWindows 3.0 packages from http://codelite.org/LiteEditor/WxWidgets30Binaries#toc2. When running the make I get the following error.
The error is occurring on the line declaring the val and sDSplitAmont variables in the m_data struct.
Any help would be greatly appreciated.
TIA - ed
Code: Select all
/home/ed/Development/mmex/reliase/bk-deps g++ -c -o mmex_mmex.o -I../lib/wxsqlite3/sqlite3/secure/src -I../lib/wxsqlite3/include -I../lib -I../src -DNOPCH -I/usr/lib/x86_64-linux-gnu/wx/
include/gtk2-unicode-3.0-unofficial -I/usr/include/wx-3.0-unofficial -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -fPIC -DPIC -g -O2 -std=c++0x -g0 -O2 ../src/mmex.cpp
In file included from ../src/mmex.cpp:60:0:
../src/import_export/qif_import.h:111:22: sorry, unimplemented: non-static data member initializers
../src/import_export/qif_import.h:111:22: error: ‘constexpr’ needed for in-class initialization of static data member ‘val’ of non-integral type
../src/import_export/qif_import.h:111:42: sorry, unimplemented: non-static data member initializers
../src/import_export/qif_import.h:111:42: error: ‘constexpr’ needed for in-class initialization of static data member ‘dSplitAmount’ of non-integral type
make: *** [mmex_mmex.o] Error 1
Code: Select all
struct m_data
{
wxDateTime dtdt;
bool valid;
bool trxComplited;
int payeeID;
int categID;
int subCategID;
int to_accountID;
int from_accountID;
wxString payeeString, type, amountString, transNum, notes;
wxString dt, convDate, accountName, dateString, sToAccountName;
wxString sFullCateg, sCateg, sSubCateg, sSplitCategs, sSplitAmount, sValid, sDescription;
double val = 0.0, dSplitAmount = 0.0;
} m_data;
TIA - ed