$OpenBSD: patch-freehdl_std-vhdl-types_hh,v 1.1 2017/06/03 14:25:16 espie Exp $ surprised this even builds Index: freehdl/std-vhdl-types.hh --- freehdl/std-vhdl-types.hh.orig +++ freehdl/std-vhdl-types.hh @@ -1483,7 +1483,7 @@ A concat(array_info *ainfo, const A &a1, const A &a2) new_array.info->add_ref(); /* Allocate memory for the data */ - const int mem_size = length * ainfo->element_type->size(); + const int mem_size = length * ainfo->element_type->size; new_array.data = (char*)internal_dynamic_alloc(mem_size); /* Note, scalar(...) can be evaluated at compile time. */