On 12/06/14 21:47, Jonathan Wakely wrote:
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.
So what's the difference between 'int' and 'int*' here? Why does: int HIDE spec(); bind to 'spec' but int* HIDE spec(); doesn't?