Make fails

2015-12-01 Thread Alex Aycinena
Make fails on Fedora 22 on the latest master with the following error:

/home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/xml/gnc-backend-xml.cpp:
In function 'gboolean gnc_xml_be_get_file_lock(FileBackend*)':
/home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/xml/gnc-backend-xml.cpp:175:13:
error: comparison between signed and unsigned integer expressions
[-Werror=sign-compare]
 >= pathbuf_size - (path - pathbuf))
 ^
At global scope:
cc1plus: error: unrecognized command line option "-Wno-deprecated-register"
[-Werror]
cc1plus: all warnings being treated as errors
Makefile:817: recipe for target 'gnc-backend-xml.lo' failed
make[5]: *** [gnc-backend-xml.lo] Error 1
make[5]: Leaving directory
'/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/backend/xml'

Regards,

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


Re: Make fails

2015-12-01 Thread John Ralls

> On Dec 1, 2015, at 12:49 PM, Alex Aycinena  wrote:
> 
> Make fails on Fedora 22 on the latest master with the following error:
> 
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/xml/gnc-backend-xml.cpp:
> In function 'gboolean gnc_xml_be_get_file_lock(FileBackend*)':
> /home/gnucash-dev/gitcheckouts/gnucash-clean/src/backend/xml/gnc-backend-xml.cpp:175:13:
> error: comparison between signed and unsigned integer expressions
> [-Werror=sign-compare]
>> = pathbuf_size - (path - pathbuf))
> ^
> At global scope:
> cc1plus: error: unrecognized command line option "-Wno-deprecated-register"
> [-Werror]
> cc1plus: all warnings being treated as errors
> Makefile:817: recipe for target 'gnc-backend-xml.lo' failed
> make[5]: *** [gnc-backend-xml.lo] Error 1
> make[5]: Leaving directory
> '/home/gnucash-dev/gitcheckouts/gnucash-clean-build/src/backend/xml'

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


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


Re: Make fails

2015-12-01 Thread Alex Aycinena
John,

On Tue, Dec 1, 2015 at 4:55 PM, John Ralls  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.

Thanks,

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