[Bug c++/69855] Missing diagnostic for overload that only differs by return type
nathan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Oct 5 11:48:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69855
Nathan Sidwell <nathan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nathan at gcc dot gnu.org
Resolution|--- |FIXED
Assignee|unassigned at gcc dot gnu.org |nathan at gcc dot gnu.org
--- Comment #8 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
this is fixed, I think my earlier namespace lookup handling patches got it.
69855.ii:11:9: error: local external declaration 'guard get()' [-fpermissive]
guard get();
^~~
69855.ii:3:8: note: does not match previous declaration 'mutex& get()'
mutex& get();
More information about the Gcc-bugs
mailing list