This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/58154] if declaration and definition of a function differ in scope, emit a warning


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]