2.3. Binder Error Message Control

The following switches provide control over the generation of error messages from the binder:

-v

Verbose mode. In the normal mode, brief error messages are generated to stderr. If this switch is present, a header is written to stdout and any error messages are directed to stdout. All that is written to stderr is a brief summary message.

-b

Generate brief error messages to stderr even if verbose mode is specified. This is relevant only when used with the -v switch.

-mn

Limits the number of error messages to n, a decimal integer in the range 1-999. The binder terminates immediately if this limit is reached.

-r

Renames the generated main program from main to gnat_main. This is useful in the case of some cross-building environments, where the actual main program is separate from the one generated by gnatbind.

-ws

Suppress all warning messages.

-we

Treat any warning messages as fatal errors.

-t

Ignore time stamp errors. Any time stamp error messages are treated as warning messages. This switch essentially disconnects the normal consistency checking, and the resulting program may have undefined semantics if inconsistent units are present. This means that -t should be used only in unusual situations, with extreme care.