http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58154
--- Comment #4 from Alexander Huemer <alexander.huemer at xx dot vu> --- Maybe I really do not correctly understand the difference between storage class and linkage. To me it seems like in one case the linkage of a function is inherited from the declaration, in the other case not. Again, please state which version of the document you are referring to. I cannot find what you are talking about in the document I linked.