Fortran Programming Guide

f77: Viewing Compiler Listing Diagnostics

Use the error utility program to view compiler diagnostics merged with the source code. error inserts compiler diagnostics above the relevant line in the source file. The diagnostics include the standard compiler error and warning messages, but not the -Xlist error and warning messages.


Note -

The error utility rewrites your source files and does not work if the source files are read-only, or are in a read only directory.


error(1) is included as part of a "developer" installation of the Solaris operating environment; it can also be installed from the package, SUNWbtool.

Facilities also exist in the Sun WorkShop for viewing compiler diagnostics. Refer to Using Sun WorkShop.