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


direct_to_som

Description:

Controls the generation of SOM object code.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800

Intel x86

MIPS

Embedded 68K

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

This pragma is available for C++ only.

This pragma lets you create SOM code directly in the Code-Warrior IDE. SOM is an integral part of OpenDoc. For more information, see Targeting Mac OS.

Note that when you turn on this pragma, CodeWarrior C/C++ automatically turns on the Enums Always Int option in the C/C++ Language Panel, described in "Enumerated Types."

This pragma corresponds to the Direct to SOM menu in the C/C++ Language Panel. Selecting On from that menu is like setting this pragma to on and setting the SOMCheckEnvironment pragma to off. Selecting On with Environment Checks from that menu is like setting both this pragma and SOMCheckEnvironment to on. Selecting off from that menu is like setting both this pragma and SOMCheckEnvironment to off. For more information on SOMCheckEnvironment see "SOMCheckEnvironment."

To check whether this option is on, use the __option (direct_to_SOM). See "Checking Options." By default, this pragma is off.


[ 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