[Bug c/81824] Warn for missing attributes with function aliases

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Thu Feb 8 23:33:00 GMT 2018


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.


More information about the Gcc-bugs mailing list