These messages report valid but questionable use of the language being compiled. The compiler displays warnings by default. You can suppress warning messages by using the -w0 option. Warnings do not stop translation or linking. Warnings do not interfere with any output files. Some representative warning messages are:
constant truncated - precision too great
non-blank characters beyond column 72 ignored
Hollerith size exceeds that required by the context
The warning messages report possible errors and use of non-standard features in the source file.
The following options suppress or enable warning messages.
-cerrs[-] |
Causes error and warning messages to be generated in a terse format:
-cerrs- disables -cerrs. |
-w |
Suppresses all warning messages. |
-w{n} |
Suppresses or displays all warning messages generated by preprocessing
and compilation. |
-WB |
On a bound check violation, issues a warning instead of an error. (This is to accommodate old FORTRAN code, in which array bounds of dummy arguments were frequently declared as 1.) |
For example, the following command compiles newprog.f and displays compiler errors, but not warnings:
IA-32 compiler:
prompt>ifc -w0 newprog.f
Itanium(TM) compiler:
prompt>efc -w0 newprog.f