I have an IDL included all the topics, typedef and enum. When I compile, it gave error: redefinition of 'struct IdentifierType_TSeq'. It appears that there are multiple #define TSeq IdentifierType_TSeq in the .h file.
I suspect is may be wrong in the way I constructed the IDL. Can you give me some advices? Attached is the IDL.
Thanks.
CB.
Attachment | Size |
---|---|
IDL | 2.11 KB |
Hi Chee,
The IDL-to-C mapping automatically creates a new type for a structure definition. Thus, instead of this:
this is sufficient:
You can now use IdentifierType_T as a type, for example
Regards,
Tron
Hi Tron,
Thanks, it works.
Chee Beng