On Thu, Jan 03, 2008 at 07:37:25AM -0500, Jakub Jelinek wrote:
On Thu, Jan 03, 2008 at 07:02:42AM -0500, Jakub Jelinek wrote:
> 3
http://sunsite.mff.cuni.cz/rawhide20071220-gcc43/auto_ptr/
> std::auto_ptr is no longer in <memory>, I belive unique_ptr
> should be used instead, or there is <backwards/auto_ptr.h>.
> Benjamin can tell more.
Small correction here, std::auto_ptr is still in <memory> in -std=c++98
mode, it has been deprecated just in -std=c++0x mode from what I see.
So the above 3 failures are something else, perhaps some header which
unintentionally included <memory> no longer does or something.
Yes, e.g. <algorithm> included <memory> indirectly and no longer does,
similarly <iostream> no longer includes <memory>, nor <string>.
From the above failures, two of them include <algorithm> but not
<memory>,
one includes <iostream> but not <memory>.
So all these 3 fall into header-dep category...
Jakub