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/81824] Warn for missing attributes with function aliases


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824

--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Thu, 8 Feb 2018, msebor at gcc dot gnu.org wrote:

> Okay, that would make sense.  But then what do you mean by "weak, alias,
> visibility attributes are expected to differ between different names and
> shouldn't be diagnosed."

Weak is a property of a symbol, not of a function - it's correct for a 
function to have both strong and weak names.

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