Technical data

Compiler Commands [2]
2.4.7 -h [no]anachronisms (CC)
Default option: -h noanachronisms
The -h [no]anachronisms option enables or disables anachronisms in Cray
Standard C++. This option is overridden by -h conform.
2.4.8 -h new_for_init (CC)
The -h new_for_init option enables the new scoping rules for a declaration
in a for-init-statement. This means that the new (standard-conforming)
rules are in effect, which means that the entire for statement is
wrapped in
its own implicitly generated scope. -h new_for_init is implied by the
-h conform option.
The following is the result of the scoping rule:
{
.
.
.
for (int i = 0; i < n; i++) {
.
.
.
} // scope of i ends here for -h new_for_init
.
.
.
} // scope of i ends here by default
2.4.9 -h [no]tolerant (cc)
Default option: -h notolerant
The -h tolerant option allows older, less standard C constructs to facilitate
porting of code written for previous C compilers. Errors involving comparisons
or assignments of pointers and integers become warnings. The compiler
generates casts so that the types agree. With -h notolerant, the compiler
is intolerant of the older constructs.
This option can be specified on the same line with -O3 or any combination of
-h scalar3, -h vector3,or-h task3. The combination of -h tolerant
with these options causes the compiler to tolerate accessing an object with one
S217936 11