Option Type | Default Value | #pragma options | C | C++ |
-qoption | noproto | PROTO | x |
Syntax
-qproto | -qnoproto PROTO | NOPROTO
Purpose
Assumes all functions are prototyped.
Notes
This option asserts that procedure call points agree with
their declarations even if the procedure has not been prototyped.
Callers can pass floating-point arguments in floating-point
registers only and not in General-Purpose Registers (GPRs). The
compiler assumes that the arguments on procedure calls are the
same types as the corresponding parameters of the procedure
definition.
You can obtain warnings for functions that do not have prototypes.
Example
To compile my_c_program.c to assume that all functions are
prototyped, enter:
xlC my_c_program.c -qproto
List of Compiler Options and Their
Defaults
info Compiler Option