File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,14 @@ names match module files in multiple search directories, as well as to
126126detect dependent modules whose recompilation has rendered a module file
127127obsolete.
128128
129+ The hash codes used in module files also serve as a means of protection from
130+ updates to code in other packages.
131+ If a project A uses module files from package B, and package B is updated in
132+ a way that causes its module files to be updated, then the modules in A that
133+ depend on those modules in B will no longer be accepted for use until they
134+ have also been regenerated.
135+ This feature can catch errors that other compilers cannot.
136+
129137When processing ` .mod ` files we know they are valid Fortran with these properties:
1301381 . The input (without the header) is already in the "cooked input" format.
1311392 . No preprocessing is necessary.
You can’t perform that action at this time.
0 commit comments