[Bug c++/10915] [diagnostic] a not-useful non-avoidable warning: conversion to a reference to the same type will never use a type conversion operator

giovannibajo@libero.it gcc-bugzilla@gcc.gnu.org
Thu May 22 22:27:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10915


giovannibajo@libero.it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned@gcc.gnu.org      |gdr@gcc.gnu.org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
            Summary|a not-useful non-avoidable  |[diagnostic] a not-useful
                   |warning:  conversion to a   |non-avoidable warning:
                   |reference to the same type  |conversion to a reference to
                   |will never use a type       |the same type will never use
                   |conversion operator         |a type conversion operator


------- Additional Comments From giovannibajo@libero.it  2003-05-22 20:55 -------
Confirmed. I still think that the warning should be on to help people who does 
not know very well how C++ behaves, but at least it should not appear in case 
of dynamic binding (as shown in the testcase), and/or should be controlled by a 
command-line option.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list