Windows MASTER version does not build.

John Ralls jralls at ceridwen.us
Mon Nov 7 16:50:44 EST 2016


> On Nov 7, 2016, at 11:49 AM, Robert Fewell <14ubobit at gmail.com> wrote:
> 
> I changed my defaults.sh for gcc to set_default MINGW_GCC_VERSION         "4.9.3-1" and it failed at gnc-backend-dbi.cpp on lines 1271 and 1277 to do with the PWARN messages. Commented these two lines out and Gnucash built successfully.
> 
> This change was only used for Gnucash so have not built all the applications with 4.9.3

After testing I found that 4.9.3 worked for me, too. Interestingly 5.3.0 didn't: It seems that with 4.9.3 a condition in mingw/lib/gcc/mingw32/4.9.3/include/c++/bits/basic_string.h that prevents using stoi and to_string got left out, but they're back in 5.3.0. It's probably a bug.

But I've changed defaults.sh to use 4.9.3 anyway, and also fixed the PRId64 problem in gnc-backend-dbi.cpp.

Regards,
John Ralls




More information about the gnucash-devel mailing list