> On Dec 1, 2015, at 5:12 PM, Alex Aycinena <alex.aycin...@gmail.com> wrote:
> 
> John,
> 
> On Tue, Dec 1, 2015 at 4:55 PM, John Ralls <jra...@ceridwen.us> wrote:
> 
> Thanks, Alex. Fixed and pushed along with a configure change to keep 
> libdbi-0.9’s deprecation warnings from stopping a build.
> 
> Regards,
> John Ralls
> 
> 
> Make now works, but make check fails with:
> 
> 
> In file included from /usr/include/c++/4.9.2/ios:42:0,
>                  from /usr/include/c++/4.9.2/ostream:38,
>                  from /usr/include/c++/4.9.2/iostream:39,
>                  from /usr/include/boost/assert.hpp:84,
>                  from /usr/include/boost/variant/detail/backup_holder.hpp:17,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from 
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/kvp-value.hpp:36,
>                  from 
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/libqof/qof/kvp_frame.hpp:91,
>                  from 
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/xml/test/test-file-stuff.cpp:42:
> /usr/include/c++/4.9.2/bits/ios_base.h:215:42: error: expected identifier 
> before string constant
>        failure(const string& __str) throw();
>                                           ^
> /usr/include/c++/4.9.2/bits/ios_base.h:215:42: error: expected ',' or '...' 
> before string constant
> /usr/include/c++/4.9.2/bits/ios_base.h:215:88: error: only declarations of 
> constructors can be 'explicit'
>        failure(const string& __str) throw();
>                                                                               
>           ^
> /usr/include/c++/4.9.2/bits/ios_base.h:215:91: error: expected unqualified-id 
> before 'throw'
>        failure(const string& __str) throw();
>                                                                               
>              ^
> /usr/include/c++/4.9.2/bits/ios_base.h:220:20: error: expected class-name 
> before '(' token
>        ~failure() throw();
>                     ^
> /usr/include/c++/4.9.2/bits/ios_base.h:220:73: error: expected unqualified-id 
> before 'throw'
>        ~failure() throw();
>                                                                          ^
> cc1plus: error: unrecognized command line option "-Wno-deprecated-register" 
> [-Werror]
> cc1plus: all warnings being treated as errors
> Makefile:1381: recipe for target 'test-file-stuff.lo' failed
> make[6]: *** [test-file-stuff.lo] Error 1
> make[6]: Leaving directory 
> '/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/backend/xml/test'
> 
> Don't know if you were intending to get this to work.

Alex,

Of course it’s supposed to work! Now it does, though I’m not comfortable with 
the fix. Moving the include of kvp_frame.hpp to the top of the list implies 
that there’s something about one of the other headers that confuses gcc. More 
research required, but at least now make check passes on Linux 64.

Regards,
John Ralls


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

Reply via email to