include/Type.h:9:19: error: typedef redefinition with different types ('hx::ObjectPtr<ValueType_obj>' vs 'ValueType')
HX_DECLARE_CLASS0(ValueType)
(...)/hxcpp/include/hx/CFFI.h:68:6: note: previous definition is here
enum ValueType
I solved this by simply changing the enum ValueType in CFFI.h for enum _ValueType.
But this seems like a hack, so I'm wondering why I'm getting the error in the first place. I'm trying to integrate munit with a Lime project, and I started getting this error because munit does something that uses the Type.hx in an assert method. And to add to the confusion, I don't get the error if I don't use Lime...
Any idea?
Thanks!