[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


require_prototypes

Description:

Controls whether or not the compiler should expect function prototypes.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

Prototype:
  #pragma require_prototypes on | off | reset Remarks:

When the pragma require_prototypes is on, the compiler generates an error if you use a function that does not have a prototype. This pragma helps you prevent errors that happen when you use a function before you define it.

This pragma corresponds to the Require Function Prototypes option in the C/C++ Language Panel. To check whether this option is on, use __option (require_prototypes), described in "Checking Options."


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000