When I try to build gnucash, I get:

/home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/kvp-value.cpp: In
member function 'int compare_visitor::operator()(T&, U&) const':
/home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/kvp-value.cpp:219:15:
error: 'invalid_argument' is not a member of 'std'
         throw std::invalid_argument{"You may not compare objects of
different type."};
               ^
/home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/kvp-value.cpp:219:36:
error: expected ';' before '{' token
         throw std::invalid_argument{"You may not compare objects of
different type."};
                                    ^
/home/gnucash-dev/gitcheckouts/gnucash/src/libqof/qof/kvp-value.cpp:220:5:
error: no return statement in function returning non-void
[-Werror=return-type]
     }
     ^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-deprecated-register"
[-Werror]
cc1plus: all warnings being treated as errors
make[5]: *** [kvp-value.lo] Error 1
make[5]: Leaving directory
`/home/gnucash-dev/gitcheckouts/gnucash-build/src/libqof/qof'

Can someone give me some advice?

Thanks,

Alex
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to