Re: GCC ignores function attributes

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

 



On 12 June 2014 17:48, Nikos Chantziaras wrote:
>   int __attribute__((visibility("hidden"))) spec();


But this isn't hidden:

int* __attribute__((visibility("hidden"))) spec();

because the attribute binds to the return type, which is what the
warning tells you.




[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