OSF DCE Problem Determination Guide

Error Messages and Status Codes
Action: Add the indicated command option to your <kw>(idl) command so that the IDL
compiler will invoke the C preprocesor to preprocess source IDL and ACF files before
they are parsed.
0x1328315a NIDL_CSARRSYN
Severity: Varies Component: idl
Text: A [size_is] or [max_is] attribute cannot be applied to a pointer to a [cs_char] type
Explanation: The <kw>([cs_char]) ACF attribute cannot be applied to a type which is
the target of a pointer with the <kw>([size_is]) or <kw>([max_is]) attribute.
Action: Use an array of <kw>([cs_char]) instead of pointer to array of <kw>([cs_char]),
or use a pointer to a structure which contains a conformant array of <kw>([cs_char]).
0x1328304e NIDL_CTXBASETYP
Severity: Varies Component: idl
Text: The base type of a pipe cannot be a [context_handle] type
Explanation: A <kw>([context_handle]) type cannot be used as the base type of a
<kw>(pipe).
Action: Remove the invalid declaration, or change it so the base type of the <kw>(pipe)
is not a <kw>([context_handle]) type.
0x1328304f NIDL_CTXPTRVOID
Severity: Varies Component: idl
Text: Attribute [context_handle] only applies to void * types
Explanation: The attribute <kw>([context_handle]) indicates that the data is a pointer-
sized object that serves as the handle, or method of accessing, some object. To the called
operation, the data is often an address of a structure in memory, although it need not be.
A context handle is opaque to, and must never be written by, the caller code. To
emphasize this, IDL previously required that context handles be defined as type
<kw>(void *). IDL has since been relaxed to also allow a context handle type to be
defined as a pointer to a structure type by tag name, e.g. <v>(typedef [context_handle]
struct opaque_struct * opaque_ch_t).
Action: Change the declaration with the <kw>([context_handle]) attribute to data type
<kw>(void *) or to a <kw>(struct *) data type similar to the example above.
0x13283050 NIDL_CTXSTRFLD
Severity: Varies Component: idl
Text: Context handles are not valid as structure fields
Explanation: A context handle is not allowed as a field of a structure.
Action: Pass a context handle as a separate parameter to an operation, rather than
embedding it as a field of a structure.
124330 Tandem Computers Incorporated 2403