Table of Contents

Previous: -columns


Option: common

-common=num
This setting varies the strictness of checking of COMMON blocks.

The different levels are:

0:
no checking.
1:
in each declaration of a given COMMON block, corresponding memory locations (words or bytes) must agree in data type.
2:
also warn if different declarations of the same block are not equal in total length.
3:
corresponding variables in each declaration of a block must agree in data type and (if arrays) in size and number of dimensions.

Default = turn-on = 3.

The Fortran 77 Standard requires each named common block, but not blank common, to be the same length in all modules of the program. Level 3 provides an extra degree of checking to support a frequent programming practice.

See also: -library , -usage , -volatile .


Next: -crossref