| |||
| Home > Compiler-specific Features > Variable attributes > __attribute__((weak)) variable attribute | |||
The declaration of a weak variable is permitted, and acts
in a similar way to __weak. The equivalent is:
__weak int Variable_Attributes_weak_compare;
This variable attribute is a GNU compiler extension that is supported by the ARM compiler.