https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49574
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- 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.