Skip to content

Cant define enum type in IDL project - .idl file #207

Answered by jmmorato
edwin98thompson asked this question in Q&A
Discussion options

You must be logged in to vote

Your issue is not the definition of the enum in the IDL but the field IGNORE defined inside... IGNORE is a constant defined in WinBase.h and the compiler complains about in the enum definition.

It is happening only in Windows and in the code generated by OpenDDS so I don't think we can do much about.

Can you change the name to STATE_IGNORE for example and try again?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@edwin98thompson
Comment options

Answer selected by edwin98thompson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants