24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-qhalt Option<br />

Syntax<br />

-qhalt=severity<br />

HALT(severity)<br />

Stops be<strong>for</strong>e producing any object, executable, or assembler source files if the<br />

maximum severity of compile-time messages equals or exceeds the specified<br />

severity. severity is one of i, l, w, e, s, u, or q, meaning in<strong>for</strong>mational, language,<br />

warning, error, severe error, unrecoverable error, or a severity indicating “don’t<br />

stop”.<br />

Arguments<br />

The severity levels (from lowest to highest) are:<br />

i<br />

l<br />

w<br />

e<br />

s<br />

u<br />

q<br />

In<strong>for</strong>mational messages. They explain things that you should know, but<br />

they usually do not require any action on your part.<br />

Language-level messages, such as those produced under the -qlanglvl<br />

option. They indicate possible nonportable language constructs.<br />

Warning messages. They indicate error conditions that might require action<br />

on your part, but the program is still correct.<br />

Error messages. They indicate error conditions that require action on your<br />

part to make the program correct, but the resulting program can probably<br />

still be executed.<br />

Severe error messages. They indicate error conditions that require action on<br />

your part to make the program correct, and the resulting program will fail<br />

if it reaches the location of the error. You must change the -qhalt setting to<br />

make the compiler produce an object file when it encounters this kind of<br />

error.<br />

Unrecoverable error messages. They indicate error conditions that prevent<br />

the compiler from continuing. They require action on your part be<strong>for</strong>e you<br />

can compile your program.<br />

No messages. A severity level that can never be generated by any defined<br />

error condition. Specifying it prevents the compiler from displaying<br />

messages, even if it encounters unrecoverable errors.<br />

Defaults<br />

The default is -qhalt=s, which prevents the compiler from generating an object file<br />

when compilation fails.<br />

Restrictions<br />

The -qhalt option can override the -qobject option, and -qnoobject can override<br />

-qhalt.<br />

170 <strong>XL</strong> <strong>Fortran</strong> <strong>Enterprise</strong> <strong>Edition</strong> <strong>for</strong> <strong>AIX</strong> : User’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!