compile errors

Alex Aycinena alex.aycinena at gmail.com
Thu Nov 17 19:54:44 EST 2016


Hi,

I get the following compile errors today:

/home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/sql/gnc-account-sql.cpp:
In member function ‘virtual void
GncSqlAccountBackend::load_all(GncSqlBackend*)’:
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/sql/gnc-account-sql.cpp:239:9:
error: ‘reverse’ is not a member of ‘std’
         std::reverse(l_accounts_needing_parents.begin(),
         ^~~
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/sql/gnc-account-sql.cpp:245:19:
error: ‘remove_if’ is not a member of ‘std’
             end = std::remove_if(l_accounts_needing_parents.begin(), end,
                   ^~~
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/sql/gnc-account-sql.cpp:264:15:
error: ‘remove_if’ is not a member of ‘std’
         end = std::remove_if(l_accounts_needing_parents.begin(), end,
               ^~~
At global scope:
cc1plus: error: unrecognized command line option ‘-Wno-deprecated-register’
[-Werror]
cc1plus: all warnings being treated as errors
Makefile:752: recipe for target 'gnc-account-sql.lo' failed

Am I missing a library or something?

Thanks,

Alex


More information about the gnucash-devel mailing list