HP OpenVMS Systems Documentation |
HP Pascal for OpenVMS
|
Previous | Contents | Index |
Table 1-13 lists the available options, their corresponding actions, and their negations.
Option | Action | Negation |
---|---|---|
ALL | Enables checking of all options. | NONE |
EMPTY_RECORDS | Checks for fetching records with no fields. Such fields are usually created by the %DICTIONARY directive for unsupported data types. | NOEMPTY_RECORDS |
NONGRNACC
(OpenVMS I64 and OpenVMS Alpha systems) |
Specifies that the compiler should issue warning messages for code
sequences that might not match your granularity request from the
/GRANULARITY qualifier.
When the compiler cannot guarantee that the generated code matches the granularity setting, a warning message is issued. You should examine your code to make sure that the variable being accessed is quadword-aligned and is a multiple of quadwords in size. In this case, the resulting code will be correct, although the compiler might not be able to determine that at compile time. Such cases involve pointer dereferences or VAR parameters. These messages are enabled by default by the compiler. |
NONONGRNACC |
PACKED_ACTUALS | Checks for passing components of packed structures to VAR parameters. | NOPACKED_ACTUALS |
PERFORMANCE
(OpenVMS I64 and OpenVMS Alpha systems) |
Checks for variables and record fields that are poorly sized or aligned on inefficient boundaries. This provides the same information that is found in the /SHOW=STRUCTURE_LAYOUT listing section. | NOPERFORMANCE |
UNCALLABLE
(OpenVMS I64 and OpenVMS Alpha systems) |
Specifies whether the compiler should issue informational messages for routines that are declared but never called. | NOUNCALLABLE |
UNCERTAIN | Checks for variables that can be uninitialized depending on program flow. | NOUNCERTAIN |
UNINITIALIZED | Checks for variables that are known to be uninitialized. | NOUNINITIALIZED |
UNSUPPORTED_CDD |
Checks for usage of
CDD/Repository constructs that do not correspond to HP Pascal data types. |
NOUNSUPPORTED_CDD |
UNUSED | Checks for variables that are declared but never referenced. | NOUNUSED |
VOLATILE
(OpenVMS I64 and OpenVMS Alpha systems) |
Checks for VOLATILE variables that are not aligned properly. On OpenVMS I64 and OpenVMS Alpha systems, certain unaligned VOLATILE variables cannot be updated in an atomic fashion. | NOVOLATILE |
The following types of variables are not checked for uninitialization:
The /USAGE qualifier without options is equivalent to /USAGE=ALL. The negation /NOUSAGE is equivalent to /USAGE=NONE.
The HP Pascal compiler can detect when some variables are uninitialized; however, it cannot detect that an uplevel variable is uninitialized at the point at which it was referenced. This is because at the time the routine is lexically scanned, the compiler has not seen any of the calls to that routine.
By default, these messages are written to the error file SYS$ERROR. A warning or informational diagnostic message indicates that the compiler has detected acceptable but unorthodox syntax or has performed some corrective action; in either case, unexpected results can occur.
Note that informational messages generated when you specify the /STANDARD qualifier do not appear if /NOWARNINGS is enabled.
You control the contents of a compilation listing by appending qualifiers to the PASCAL command. Table 1-14 lists the parts of a complete compilation listing and the qualifiers that cause them to be generated.
Section |
---|