Technical data

Cray Standard C/C++ Reference Manual
Note: The c89 command does not accept the -h conform or -h stdc
option. It is enabled by default when the command is issued.
2.4.3 -h cfront (CC)
The -h cfront option causes the Cray Standard C++ compiler to accept or
reject constructs that were accepted by previous cfront-based compilers
(such as Cray C++ 1.0), but which are not accepted in the C++ standard. The
-h anachronisms option is implied when -h cfront is specified.
2.4.4 -h [no]parse_templates (CC)
Default option: -h noparse_templates
This option allows existing code that define templates using previous versions
of the Cray STL (before PE 3.6) to compile successfully with the -h conform
option. Consequently, this allows you to compile existing code without having
to use the Cray Standard C++ STL. To do this, use the noparse_templates
option. Also, the compiler defaults to this mode when the -h dep_name option
is used. To have the compiler verify that your code uses the Cray Standard C++
STL properly, use the parse_templates option.
2.4.5 -h [no]dep_name (CC)
Default option: -h nodep_name
This option enables or disables dependent name processing (that is, the
separate lookup of names in templates when the template is parsed and when
it is instantiated). The -h dep_name option cannot be used with the -h
noparse_templates option.
2.4.6 -h [no]exceptions (CC)
Default option: The default is -h exceptions, however if the
CRAYOLDCPPLIB environment variable is set to a
nonzero value, the default is -h noexceptions.
The -h exceptions option enables support for exception handling. The
-h noexceptions option issues an error whenever an exception construct,
a try block, a throw expression, or a throw specification on a function
declaration is encountered. -h exceptions is enabled by -h conform.
10 S217936