4.3.12 __root Keyword

A function or variable with the attribute is kept whether or not it is referenced from the rest of the application, provided its module is included.

Suggested Replacement

__attribute__((used))

Caveats

None.

Examples

Consider migrating IAR code such as:
__root int myarray[10]; 
to MPLAB XC codes similar to:
int __attribute__((used)) myarray[10];

Further Information

None.