force_active

Controls how “dead” functions are linked.

Syntax

#pragma force_active on | off | reset

Targets
All platforms.
Remarks

If you enable this pragma, the linker leaves functions within the scope of the pragma in the finished application, even if the functions are never called in the program.

This pragma does not correspond to any panel setting. To check this setting, use the __option (force_active), described in Checking Settings. The default setting is off.