C/C++ Programmer's Guide (G06.25+)
TNS C Compiler Messages
HP C/C++ Programmer’s Guide for NonStop Systems—429301-008
20-33
Types of Compiler Messages
186
The second parameter of the offsetof function must be a member of the structure
that is the first parameter.
187
The second parameter of the offsetof function cannot be a bit field member of the
structure that is the first parameter of the offseof function.
188
The structure declaration does not have a tag. If this is a typedef declaration, it does
not have a typedef name.
For example, here is a structure without a tag:
struct { ... }; /* structure with no tag */
Here is a structure with the tag point:
struct point { ... }; /* structure with tag */
Here is a typedef declaration that has no name:
typedef struct { ... }; /* typedef with no name */
Here is a typedef declaration with a name:
typedef struct { ... } complex; /* typedef with name */
190
The C compiler issues this error if a const variable is used in the left-hand side of an
assignment.
second argument of offsetof is not a member of the structure
second argument of offsetof must not be a bit field member of
the structure
this struct or union has no tag and no typedef name
illegal usage of const attribute