NAGWare f95 rejects my legacy F77 code, what should I do?
Top] The NAGWare f95 Compiler carries out a strict check for conformance to the Fortran 95 standard and also carries out a large number of checks for obviously incorrect code. While this is the correct behaviour for a compiler when new code is being developed, it is sometimes necessary to reduce the stringency of error checking to allow older code written to lower standards to compile. There are a number of compiler options to compile such legacy code. -dusty Downgrades a number of common errors found in legacy code to warnings. Hence compilation can continue and also these warnings can be turned off by -w. This option implies -mismatch_all. -mismatch Downgrades errors resulting from mismatch in argument lists to warnings. Calls to routines in the same file must still be correct. -mismatch_all As -mismatch but even incorrect calls to routines in the same file are accepted.