This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14528] [3.4/3.5 Regression] trouble with auto_ptr
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Mar 2004 16:11:55 -0000
- Subject: [Bug libstdc++/14528] [3.4/3.5 Regression] trouble with auto_ptr
- References: <20040311104023.14528.rwgk@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-12 16:11 -------
ICC 6.0 gives:
pr14528.cc(12): warning #377: class "std::auto_ptr<int>" has no suitable copy constructor
foo(A()); // error
^
pr14528.cc(13): warning #377: class "std::auto_ptr<int>" has no suitable copy constructor
foo(makeA()); // error - the same as in line 45994 of the original example
^
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14528