OSF DCE Problem Determination Guide
OSF DCE Problem Determination Guide
Action: Provide a <kw>([switch_is]) clause that specifies a field or parameter that is the
union discriminator, or use an encapsulated union, where the union discriminator variable
is encapsulated as a field within the union type.
0x13283121 NIDL_NEUSWPTR
Severity: Varies Component: idl
Text: The union switch variable %1$s cannot be a [ptr] or [unique] pointer
Explanation: A <kw>([switch_is]) attribute clause in the source IDL specifies its value
by dereferencing a pointer field or parameter. This is invalid if the pointer variable has
either of the <kw>([ptr]) or <kw>([unique]) attributes, since both allow the pointer to be
<kw>(NULL). If the pointer were <kw>(NULL), there would be no way to determine the
union discriminator.
Action: Either redeclare the <kw>([switch_is]) variable to be a scalar rather than a
pointer, or change the <kw>([switch_is]) variable to be a <kw>([ref]) pointer.
0x13283122 NIDL_NEUSWTYPE
Severity: Varies Component: idl
Text: A nonencapsulated union type must have a [switch_type] attribute
Explanation: A <kw>([switch_type]) attribute is required on a definition of a
nonencapsulated union type to identify the data type of the union discriminator.
Action: Provide a <kw>([switch_type]) clause that specifies a valid union discriminator
data type.
0x13283123 NIDL_NEUXMITAS
Severity: Varies Component: idl
Text: A [transmit_as] type cannot be a nonencapsulated union
Explanation: A type referenced in a <kw>([transmit_as]) clause cannot be a
nonencapsulated union, since there is no defined way to communicate the union
discriminator to/from <kw>([transmit_as]) data translation routines.
Action: Use an encapsulated union for the transmissible type.
0x13283124 NIDL_NEUXMITYPE
Severity: Varies Component: idl
Text: A nonencapsulated union cannot have a [transmit_as] type
Explanation: A nonencapsulated union type cannot be defined to have a transmissible
type, since there is no defined way to communicate the union discriminator to/from
<kw>([transmit_as]) data translation routines.
Action: Use an encapsulated union, or reconsider the need for a different transmissible
type for the union.
2− 438 Tandem Computers Incorporated 124330