Re: Documented support for attributes on function definitions?

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

 



On Sat, Dec 02, 2017 at 10:36:40PM +0100, Markus Elfring wrote:
> > Suggestions welcome!  Patches even better ;-)
> 
> I am also still looking for the general acknowledgement that function attributes
> should be applicable in a consistent way with declarations and definitions.
> How much can you help in this case?

Read the section I pointed you to...

In short: you cannot put an attribute after a function declarator in a
function definition.  The documentation says in the future that will
be possible, but it has said that for ages, don't hold your breath :-)


Segher



[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