A.9. Marking Functions As Deprecated
The deprecated attribute
instructs the compiler to generate a warning at the call site whenever
the function is invoked:
_ _attribute_ _ ((deprecated)) void foo (void) { /* ... */ }
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial