## Common Pragmas

You configure the compiler for a project by changing the appropriate pragmas.

Many of the pragmas correspond to settings and the settings panels for processors and operating systems.

Typically, you use these panels to select the settings for most of your code and use pragmas to change settings for special cases. For example, within the Global Optimizations panel, you can set code generation to a specific optimization level and then use a pragma to re-enable an optimization only for the code that benefits from the optimization. The targeting manual for the target processor or device may have details on enabling or disabling specific optimizations. When in doubt, just use the preset options.

The sections includee:

- Pragma Syntax
- Pragma Scope
- Common Pragma Reference

TIP If you use the command-line tools, such as those for UNIX, see Command-Line Tools for information on how to duplicate the effect of #pragma statements using command-line tool options.