The following switches provide control over the generation of error messages from the binder:
main
to xxx
.
This is useful in the case of some cross-building environments, where
the actual main program is separate from the one generated
by gnatbind
.
GNAT
were used for compilation
Normally failure of such checks, in accordance with the consistency requirements of the Ada Reference Manual, causes error messages to be generated which abort the binder and prevent the output of a binder file and subsequent link to obtain an executable.
The -t switch converts these error messages into warnings, so that binding and linking can continue to completion even in the presence of such errors. The result may be a failed link (due to missing symbols), or a non-functional executable which has undefined semantics. This means that -t should be used only in unusual situations, with extreme care.