Controls the generation of SOM object code.
Compatibility:This pragma is compatible with the following platform targets:
|
Embedded 68K
|
#pragma direct_to_som on | off | reset
Remarks:This pragma is available for C++ only.
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.