__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;

Note

This variable attribute is a GNU compiler extension that is supported by the ARM compiler.

Show/hideSee also

Copyright © 2007-2008, 2011 ARM. All rights reserved.ARM DUI 0376C
Non-ConfidentialID061811