fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
SHOW ERRORS
Syntax:
[DO NOT] SHOW ERRORS [DO NOT] SHOW DIAGNOSTICS [DO NOT] SHOW DIAGS
Function:
fpt reportrs the numbers and type of all diagnostics issued during processing.
This report is always made at the end of processing. The command may be used interactively to show issues which need to be investigated. Occurrences of errors may be found interactively by the FIND ERROR command.
Where to Use this Command
| Operating system command line | No |
| Configuration file, config.fsp | No |
| Specification (fsp) files, *.fsp | No |
| Interactively, to FPT> prompt | Yes |
| Interactive command files | Yes |
| Embedded in the Fortran code | No |
Default
The report is always made at the end of fpt processing.
Example
The instrumrent control code for a tracking radar was migrated from Gould-SEL MPX to gfortran. The error report during processing is shown below.
FPT> show diagnostics Diagnostic Summary ================== Total diagnostics 25887 Highest severity 2 Notes 18647 Warnings 6507 Errors 733 Code Quality Index Error weighting 10 Total lines 313446 Index per 1000 lines 44.145 Counts and Contributions to Code Quality Index Notes ===== No. Description Count Contrib 3239 Symbol is declared but never used 1709 0 Warnings ======== No. Description Count Contrib 1253 String is truncated on assignment 16 16 2529 Duplicate name in COMMON - One instance of the variable 58 58 3065 Real variable is assigned the result of an integer division 5 5 3237 Symbol is written to but never read 521 521 4379 This object is never read 2685 2685 4381 This object is declared but never used 3222 3222 Errors ====== No. Description Count Contrib 3235 Symbol is read but never written to 236 2360 4377 This object has not been assigned a value 497 4970 ******************************************************************************* Systematic Changes to the Code (Notes) ====================================== Format changes None Declaration changes No. Description Count 4159 Global SAVE statement inserted 1556 Changes in executable code None FPT>
Copyright ©1995 to 2026 Software Validation Ltd. All rights reserved.