You copied the Doc URL to your clipboard.

__attribute__((deprecated)) function attribute

This function attribute indicates that a function exists but the compiler must generate a warning if the deprecated function is used.

Note

This function attribute is a GNU compiler extension that the ARM® compiler supports.

In GNU mode, this attribute takes an optional string parameter to appear in the message, __attribute__((deprecated("message")))

Example

int Function_Attributes_deprecated_0(int b) __attribute__((deprecated));
Was this page helpful? Yes No