[Bug c++/18113] compiler allows 2 copy constructors

profvonsully at yahoo dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 26 19:05:00 GMT 2004


------- Additional Comments From profvonsully at yahoo dot com  2004-10-26 19:05 -------
(In reply to comment #7 
i dont care about the const . i descovered the bug in the first example of the 
attcahment where the compiler prints an error that is not logic(in borland C++ 
i used TObject(rObject) with no problem). 
If a fuction returns a TObject and I pass the result to a function that 
receives a TObject an error ocurs !! pls make me understand this :) 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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



More information about the Gcc-bugs mailing list