Windows Build failure
jralls at ceridwen.us
Tue Jul 21 12:18:23 EDT 2015
> On Jul 21, 2015, at 3:28 AM, Robert Fewell <14ubobit at gmail.com> wrote:
> I have found a better windows version of gdb and have set the break point and catch point as requested. Now running gnucash from gdb the exception stems from getting time zone information from gnc-timezone.cpp:240 as can be seen in attached image.
> Still trying to understand the c++ format but I think the registry keys are different in Windows XP to that of later versions as my XP does not have 'TimeZoneKeyName' used in windows_default_tzname.
Hmm, the C version of that code in GLib and GC 2.4 doesn’t have a problem on XP, so I must have screwed something up when I ported it; it might just be throwing that exception, which is a bad idea since it can’t be caught in the way I’m using it. Since I can’t test on Windows until the weekend, if I can manage a patch before then I’ll send it to you to test.
If you’re completely new to C++, Lipmann’s C++ Primer Plus is widely recommended.
More information about the gnucash-devel