SPRU514Y August 2001 – June 2022
The following pragma directives tell the compiler how to treat a certain function, object, or section of code.
The arguments func and symbol cannot be defined or declared inside the body of a function. You must specify the pragma outside the body of a function, and pragma specifications must occur before any declaration, definition, or reference to the func or symbol argument. If you do not follow these rules, the compiler issues a warning and may ignore the pragma.
For pragmas that apply to functions or symbols, the syntax differs between C and C++.