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


warn_padding

Description:

Controls the notification of the padding of data structures.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

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

If the pragma warn_padding is on, the compiler warns about any bytes it adds to data structures to improve their alignment in memory. Refer to the appropriate Targeting manual for more information on how CodeWarrior C++ pads data structures for a particular processor or operating system.

To check whether this option is on, use __option (warn_padding). By default, this option is off. See "Checking Options." By default, this option is off. For more information about this warning see "Finding Realigned Data Structures."


[ 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