Marek Polacek <pola...@redhat.com> writes:

> +@item -Wno-class-conversion @r{(C++ and Objective-C++ only)}
> +@opindex Wno-class-conversion
> +@opindex Wclass-conversion
> +Disable the warning about user-defined conversions converting a class to
> +the wrong type, such as having a conversion function converting an
> +object to the same type, to a base class of that type, or to void.
>  @end table

I'm not sure if “the wrong type” is correct in this context because
there is no single wrong type here.

What's the actual problem?  That the user-defined conversion operator
will never be called?

Thanks,
Florian

Reply via email to