C/C++ Programmer's Guide (G06.27+, H06.03+)

Table Of Contents
TNS C Compiler Messages
HP C/C++ Programmer’s Guide for NonStop Systems429301-010
20-36
Types of Compiler Messages
205
Pragma FIELDALIGN is used with an enumeration tag. It can be used only with
structure and union tags.
206
You can only specify one FIELDALIGN setting for a tag.
207
The address of an object that resides in code space is taken. Use of this address is
valid only within the same code segment as the object.
208
A pointer to the code space has been initialized with the address of a string that has
been allocated in the data space. Pragma ENV LIBRARY or ENV LIBSPACE must be
used to ensure allocation of the string in the code space.
209
Under pragma ENV LIBRARY or ENV LIBSPACE, no relocatable data objects can be
used. Therefore, no static variables can be declared. For read-only items, use type
qualifier const.
210
Pointers cannot reside in the code space.
tag name cannot be used with fieldalign pragma
align type of tag name already set
address pointing at code space is taken
string will be allocated within data space in this context,
use pragma ENV LIBRARY/LIBSPACE
static variable not allowed under pragma ENV LIBRARY/LIBSPACE, convert it to
a constant
constant pointer in code space not allowed