--- dds-xtypes-rtf4_typeobject_issue-36_52.idl 2025-08-28 17:57:20 +++ dds-xtypes-rtf4_typeobject_issue-36_52_68.idl 2025-08-28 17:59:16 @@ -269,11 +269,12 @@ // This means the TypeIdentifier is the same for both relationships // @extensibility(FINAL) @nested - union TypeIdentifier switch (octet) { + struct EmptyStruct {}; + + @extensibility(FINAL) @nested + union TypeIdentifier switch (octet) { // ============ Primitive types - use TypeKind ==================== // All primitive types fall here. - // Commented-out because Unions cannot have cases with no member. - /* case TK_NONE: case TK_BOOLEAN: case TK_BYTE_TYPE: @@ -290,8 +291,7 @@ case TK_FLOAT128_TYPE: case TK_CHAR8_TYPE: case TK_CHAR16_TYPE: - // No Value - */ + EmptyStruct unused; // ============ Strings - use TypeIdentifierKind =================== case TI_STRING8_SMALL: