HP Fortran Programmer's Guide (September 2007)
Compiling and linking
Compiling with the f90 command
Chapter 230
+charlit77
+charlit77 causes character literals to be placed in writable static storage.
This allows character strings passed as actual arguments to be modified by
the called routine.
+check={all|none}
+check=all enables compile-time range checking for array subscripts. The
+check=all option will also cause an executing program to halt with a
runtime error if any of the following is detected:
• Integer overflow
• Out-of-bounds subscripts
• Out-of-bounds substrings
The default is +check=none. The -C option can be used to perform the same
function as +check=all.
+cpp={yes|no|default}
+cpp=yes tells the compiler to pass the source files specified on the
command line to the C preprocessor before passing them on to the compiler.
This option does not apply to .i and .i90 files.
The default, +cpp=default, is to apply the C preprocessor to files that end
in the .F extension but not to files that end in .f or .f90.
Specifying +cpp=no tells the compiler not to invoke the C preprocessor for
all files on the command line, including those ending in .F.
If you want to keep the output from the C preprocessor, use the +cpp_keep
option.
+[no]cpp_keep
+cpp_keep causes the compiler to retain the output from the C preprocessor.
If the source filename is
file
.f or
file
.F, the output filename is
file
.i;if
the source filename is
file
.f90, the output filename is
file
.i90. The
compiler will accept source files with the .i and .i90 extensions.
The default, +nocpp_keep, is to discard the output file.
Note that this option does not pass source files to the C preprocessor. To do
that, you must also specify the +cpp=yes option.
-D
name
[=
def
]