gcc: Variable Attributes

1 
1 6.32 Specifying Attributes of Variables
1 =======================================
1 
1 The keyword '__attribute__' allows you to specify special attributes of
1 variables or structure fields.  This keyword is followed by an attribute
1 specification inside double parentheses.  Some attributes are currently
1 defined generically for variables.  Other attributes are defined for
1 variables on particular target systems.  Other attributes are available
DONTPRINTYET 1 for functions (⇒Function Attributes), labels (*noteLabel
1DONTPRINTYET 1 for functions (⇒Function Attributes), labels (⇒Label

 Attributes), enumerators (⇒Enumerator Attributes), statements
1 (⇒Statement Attributes), and for types (⇒Type Attributes).
11 Other front ends might define more attributes (⇒Extensions to the
 C++ Language C++ Extensions.).
1 
1  ⇒Attribute Syntax, for details of the exact syntax for using
1 attributes.
1 

Menu