Error message options
All error, warning and comment messages are output to the compilation listing
file if one is specified or implied, otherwise, these messages are output on
the screen. Note that these messages are never simultaneously output to the
compilation listing file and on the screen. Messages fall into three categories
- error, warning and comment.
The following list includes options for disabling certain messages and options
for specifying what constitutes an error.
Prints error messages formatted for 132 column screens.
Old synonym for /ISO option.
Causes all errors, warnings and comments to be output in a form which is
compatible with the SIDE and Borland BRIEF text editors. Programs can then be
compiled and then edited whilst still within the editor.
Compiler output in a Comand Prompt box is coloured. See Silverfrost environment
variables to change default settings.
If /LINK or /LGO is used no permanent object module is created. Otherwise, by
default an object module will be generated even when errors are present.
/DELETE_OBJ_ON_ERROR overrides the default.
Error messages are accompanied by their error number.
Creates a file called <filename>.ERR containing a copy of all error and
/IGNORE <error number>
Suppresses all errors and warnings with the given number. Error numbers are
generated using /ERROR_NUMBERS. Suppressing error numbers is unsafe but may be
useful during debugging.
Fault on IMPLICIT type definitions.
Ensures that all constructs used in a program conform to the Fortran 95 ISO
Standard. The /ISO option also informs the FTN95 run-time system that
ISO-conformity is required. This means that, for example, non-standard use of
format descriptors (such as business editing in a run-time format) causes a
Sets all compiler diagnostic messages to comment severity.
Sets all compiler diagnostic messages to error severity.
Sets all compiler diagnostic messages to fatal severity.
Applies /IGNORE to all error numbers.
Suppress compiler comments, but not warnings and errors.
Synonym for /PERSIST.
Suppress reports of obsolete and extension warning messages after the first has
Suppresses the simulated quit after a bad compilation. This normally simulates
a ^C to halt a batch-file compilation. With this option set
IF ERRORLEVEL 1
must be use to test for compilation failure in a batch file if this option is
set, or alternatively
IF NOT EXIST
if the /DELETE_OBJ_ON_ERROR option is also used.
Treats the assignment of a whole array to a scalar value as an error.
Suppresses warnings for characters appearing in columns 133 (free format) or 73
(fixed format) and beyond in the source file.
Suppresses compiler messages that warn of syntax that is permitted by the FTN95
compiler but does not conform to the Fortran 95 standard. Such warnings will be
converted to errors if /IOS is used. /NON_STANDARD is switched on by default.
Outputs error/warning/comment messages one at a time and waits for a key press
after each message.
By default compilations with errors will terminate as if control break had been
pressed. When the command appears in a batch file, the batch process will then
be interrupted. If /PERSIST is used, the control break is suppressed and
processing of the batch file will continue even when compilation errors have
Increases compiler strictness to reject dubious code.
/SET_ERROR_LEVEL <code> <number>
Changes the severity of a compiler diagnostic. <code> is Suppress,
Comment, Warning, Restricted, Error, or Fatal. <number> is the error
number reported by using /ERROR_NUMBERS.
Suppress warning and comment messages. Also when /SILENT is used, the message
that is output on the screen at the end of the compilation of a program unit
does not include the numbers of warning and comment messages.
Only prints the first line of an error message, ignoring any continuations.
This is ignored if /BRIEF is specified. Without this option, when an error is
reported, the offending line is output together with any continued lines.
Suppress windowed diagnostic information.
Carry on compiling even after 12 error messages.
All warnings and comments become errors.
Source lines are wrapped rather than truncated when an error or warning is
Line-truncation at the 132nd (or 72nd) column is suppressed.