This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/58154] if declaration and definition of a function differ in scope, emit a warning
- From: "alexander.huemer at xx dot vu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Aug 2013 13:48:56 +0000
- Subject: [Bug c/58154] if declaration and definition of a function differ in scope, emit a warning
- Auto-submitted: auto-generated
- References: <bug-58154-4 at http dot gcc dot gnu dot org/bugzilla/>
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.