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

2004-10-22 Thread profvonsully at yahoo dot com
ritical Priority: P1 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: profvonsully at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386 GCC host triplet: i386 GCC target triplet: i386 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18113

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

2004-10-22 Thread profvonsully at yahoo dot com
--- Additional Comments From profvonsully at yahoo dot com 2004-10-22 16:53 --- Created an attachment (id=7402) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7402&action=view) html file describing the bug no comment ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18113

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

2004-10-26 Thread profvonsully at yahoo dot com
--- Additional Comments From profvonsully at yahoo dot com 2004-10-26 18:41 --- there is another example for those that did not look at the attachment(sorry for my initial language): class TObject; typedef TObject& rObject; class TObject { public: TOb

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

2004-10-26 Thread profvonsully at yahoo dot com
--- Additional Comments From profvonsully at yahoo dot com 2004-10-26 18:45 --- (In reply to comment #2) > look at the attahement ! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18113

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

2004-10-26 Thread profvonsully at yahoo dot com
--- 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

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

2004-10-26 Thread profvonsully at yahoo dot com
--- Additional Comments From profvonsully at yahoo dot com 2004-10-26 19:21 --- !!! in the second example only one constructor is writeed (to be compiled) "TObject(rTObject)"!!(the other one is in a coment and ... errror) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18113