C only


If this option is set, the compiler assumes that all functions are prototyped.


Read syntax diagramSkip visual syntax diagram        .-noproto-.
>>- -q--+-proto---+--------------------------------------------><


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.

The compiler will issue warnings for functions that do not have prototypes.


To compile my_c_program.c to assume that all functions are prototyped, enter:

xlc my_c_program.c -qproto

Related information