[Bug c++/49574] Give a warning for insane overloading
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 23 04:14:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49574
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #7)
> OK here's the documentation patch:
>
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -3383,6 +3383,11 @@ object to the same type, to a base class of that
> type, or to void; such
> a conversion function will never be called.
> @end table
>
> +@item -Winsane-overloading @r{(C++ and Objective-C++ only)}
> +@opindex Winsane-overloading
> +@opindex Wno-insane-overloading
> +Warn about whatever was agreed to in Bugzilla.
> +
> @node Objective-C and Objective-C++ Dialect Options
> @section Options Controlling Objective-C and Objective-C++ Dialects
>
>
> The rest should be a simple matter of programming.
>
> More seriously, I'm not the one asking for the warning, so it's not up to me
> to describe what's wanted.
All right fine; I guess I'll close this then...
More information about the Gcc-bugs
mailing list