Table 3 Options for controlling the front end (continued)

Option

Function

+[no]implicit_none

Cause the types of identifiers to be implicitly undefined

 

[defined]. The default is implicit typing

 

(+noimplicit_none).

 

nl

 

For information about using this option, see “Disabling

 

implicit typing” (page 67).

+langlvl={90default}

Issue warnings for all extensions to the Fortran standard

 

(+langlvl=90). The default, +langlvl=default,

 

allows extensions.

 

nl

 

For information about using this option, see Chapter 11,

 

“Porting to HP Fortran” (page 141).

+[no]list

Write [suppress] a program listing to standard output

 

during compilation. The default is +nolist.

+moddir=directory

Write .mod files to directory. The default is to write

 

.mod files to the current directory.

 

nl

 

For information about using this option, see “The HP Fortran

 

compiler environment” (page 8).

+moduleoptimize

Creates optimized module files by discarding redundant

 

information. This reduces the compilation time and memory

 

requirement of the compiler for nested or hierarchical

 

modules.

+nls=lang

Enable 16-bit Native Language Support (NLS) in strings

 

and comments in the language specified by lang.

+[no]onetrip

Execute any counter-controlled DO loop at least once

 

(+onetrip). The default is +noonetrip.

 

nl

 

For information about using this option when porting, see

 

“One-trip DO loops” (page 145).

+[no]ppu

Postpend [do not postpend] underscores at the end of

 

definitions of and references to externally visible symbols.

 

nl

 

For Itanium architecture, the default is +ppu. For PA-RISC

 

64-bit architecture, the default is +ppu. For PA-RISC 32-bit

 

architecture, the default is +noppu.

 

nl

 

For information about using this option when porting, see

 

“Names with appended underscores” (page 147).

+real_constant={singledouble}

Treat all single-precision real and complex constants as

 

either single-precision (+real_constant=single) or

 

double-precision (+real_constant=double). The default

 

is +real_constant=single. This option has no effect

 

on constants that are explicitly sized or when the

 

+autodbl or +autodbl4 option is specified.

 

nl

 

For information about using this option, see “Increasing

 

the precision of constants” (page 69).

+source={fixedfree default}

Accept source files in fixed format (+source=fixed) or

 

free format (+source=free). The default,

 

+source=default, is free for .f90 files and fixed for

 

.f and .F source files.

 

nl

 

For information about using this option, see “Source

 

formats” (page 147).

+[no]uppercase

Use uppercase [lowercase] for all external names. The

 

default is +nouppercase.

 

nl

 

For information about using this option, see “Case

 

sensitivity” (page 114).

12 An overview of HP Fortran

Page 12
Image 12
HP UX Fortran Software manual +moddir=directory