Closed picca closed 3 years ago
the datatype is this one
datatype99(
HklParameterType,
(Parameter)
);
it expands into this
extern "C" {
typedef struct HklParameterType HklParameterType; typedef struct HklParameterType ParameterSumT; struct HklParameterType { enum { ParameterTag } tag; union { char dummy; } data; }; inline static HklParameterType Parameter(void) { return ((HklParameterType){.tag = ParameterTag, .data.dummy = '\0'}); } static const char metalang99_semicolon_39 __attribute__((unused))
;
Try now, it must work on C++11.
Thanks a lot, it works now :))
I need to compile some c++ code with some C code.
but it seems that this is not possible.
do I miss something ?