gnucash master: Add failing unittest for aqbanking lookup of trans_retrieval date.
warlord at MIT.EDU
Mon Sep 8 12:18:59 EDT 2014
John Ralls <jralls at ceridwen.us> writes:
> On Sep 8, 2014, at 5:31 AM, Christian Stimming <christian at cstimming.de> wrote:
>> Zitat von John Ralls <jralls at ceridwen.us>:
>>>> recently I noticed the "trans-retrieval" slot in the aqbanking
>>>> account doesn't
>>>> remember its value.
>>> Yeah, fixed and pushed, e210f8c.
>>> The difference was that your test used the defective accessor
>>> function and mine used qof_instance_get directly with the right
>>> parameter type (Timespec ** instead of Timespec *).
>> Ah, the wonders of zero compile-time checks of variable argument lists in C...
>> Thanks a lot for fixing this!
> It's not C's fault; C compiler's know the difference between pointers
> and pointers-to-pointers and how to raise type errors. It's GValue's
> conversion of everything to void* that defeats the type checking.
Yeah, this will all get fixed in C++ :)
gpointer sucks :(
> John Ralls
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel