13.07.2015 Views

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PCP C Language1−11See compiler option −−compact−max−size in section Compiler Options inChapter Tool Options.#pragma extension isuffixEnables a language extension to specify imaginary floating−pointconstants. With this extension, you can use an "i" suffix on a floating−pointconstant, to make the type _Imaginary:float 0.5i#pragma extern symbolNormally, when you use the C keyword extern, the compiler generatesan .EXTERN directive in the generated assembly source. However, if thecompiler does not find any <strong>reference</strong>s to the extern symbol in the Cmodule, it optimizes the assembly source by leaving the .EXTERNdirective out.With this pragma you force the compiler to generate the .EXTERNdirective, creating an external symbol in the generated assembly source,even when the symbol is not used in the C module.See the EXTERN directive directive in Section 3.3, Assembler Directivesand Controls, in Chapter Assembly Language.#pragma inline#pragma noinline#pragma smartinlineSee section 2.9.1, Inlining Functions of the User’s Manual.#pragma macro#pragma nomacroTurns macro expansion on or off. Default, macro expansion is turned on.#pragma maxcalldepth valueControl the maximum size of a match.See compiler option −−max−call−depth in section Compiler Options inChapter Tool Options.#pragma message "string" ...Print the message string(s) on standard output.• • • • • • • •

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!