gnucash master: Add failing unittest for aqbanking lookup of trans_retrieval date.
jralls at ceridwen.us
Mon Sep 8 10:17:47 EDT 2014
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.
More information about the gnucash-devel