This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/14528] [3.4/3.5 Regression] trouble with auto_ptr


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]