Hi,

At gdk\gdk_bat.c (line 1384)
variable b->type is bool

Would be a typo?
if (((b->ttype != TYPE_void) & b->tkey) && b->batCount > 1) {
Should be:
if (((b->ttype != TYPE_void) && b->tkey) && b->batCount > 1) {

regards,
Ranier Vilela