Technical data
Compiler Commands [2]
2.18.2 -h [no]message=n[: n...] (CC, cc)
Default option: Determined by -h msglevel_n
The -h [no]message=n[:n...] option enables or disables specified compiler
messages. n is the number of a message to be enabled or disabled. You can
specify more than one message number; multiple numbers must be separated by
a colon with no intervening spaces. For example, to disable messages CC-174
and CC-9, specify the following:
-h nomessage=174:9
The -h [no]message=n option overrides -h msglevel_n for the specified
messages. If n is not a valid message number, it is ignored. Any compiler
message except ERROR, INTERNAL, and LIMIT messages can be disabled;
attempts to disable these messages by using the -h nomessage=n option are
ignored.
2.18.3 -h report=args (CC, cc)
The -h report=args option generates report messages specified in args and
lets you direct the specified messages to a file. args can be any combination of
the following:
a
rgs Description
i Generates inlining optimization messages
m Generates MSP optimization messages (Cray SV1 series systems
only)
s Generates scalar optimization messages
t Generates tasking optimization messages
v Generates vector optimization messages
f Writes specified messages to file file.V where file is the source file
specified on the command line. If the f option is not specified,
messages are written to stderr.
No spaces are allowed around the equal sign (=) or any of the args codes. For
example, the following example prints inlining and scalar optimization messages
to file, myfile.c:
cc -h report=is myfile.c
S–2179–36 31










