Documented support for attributes on function definitions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

The GCC documentation provides a specific information:
https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Function-Attributes.html
“…
Function attributes are introduced by the __attribute__ keyword on a declaration,
…”

The corresponding examples specify such attributes at the end of each
function declaration. I constructed another small test program which can show
that they work also at other positions with function definitions.

How do you think about to describe this possibility better in the documentation?

Regards,
Markus



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux