Windows Build failure
jralls at ceridwen.us
Thu Jul 23 20:37:23 EDT 2015
> On Jul 21, 2015, at 9:18 AM, John Ralls <jralls at ceridwen.us> wrote:
>> 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.
Here’s a first try at a patch. I can’t even test compile it until I get back tomorrow afternoon, but you can have a go at it and maybe fix any obvious typos.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1999 bytes
Desc: not available
More information about the gnucash-devel