To correctly marshal a struct, we need the typedef information. This can be missing and CCI doesn't complain so we need to throw an error.