SLAU132V October 2004 – February 2020
The FUNC_NO_GLOBAL_ASG pragma specifies to the compiler that the function makes no assignments to named global variables and contains no asm statements.
The pragma must appear before any declaration or reference to the function that you want to keep. In C, the argument func is the name of the function that makes no assignments. In C++, the pragma applies to the next function declared.
The syntax of the pragma in C is:
#pragma FUNC_NO_GLOBAL_ASG (func) |
The syntax of the pragma in C++ is:
#pragma FUNC_NO_GLOBAL_ASG |