Boost C++ Libraries: Ticket #10962: libs/pool/test/test_bug_5526.cpp fails to compile due to missing header https://svn.boost.org/trac10/ticket/10962 <p> Test libs/pool/test/test_bug_5526.cpp fails to compile with oracle Solaris Studio12.4 on Solaris11.2. The error message is <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Error: auto_ptr is not a member of std. <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Error: A declaration does not specify a tag or an identifier. <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Error: Use ";" to terminate declarations. <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Error: A declaration was expected instead of "&lt;". <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Warning: declarator required in declaration. <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Error: Use ";" to terminate declarations. <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Error: A declaration was expected instead of "&gt;". <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Error: aptr is not defined. <br /> "../libs/pool/test/test_bug_5526.cpp", line 29: Error: A declaration does not specify a tag or an identifier. <br /> "../libs/pool/test/test_bug_5526.cpp", line 33: Error: aptr is not defined. <br /> 9 Error(s) and 1 Warning(s) detected. <br /> </p> <p> Adding <br /> #include &lt;memory&gt; <br /> to the test seems to resolve the issue. <br /> </p> <p> The diff's are <br /> diff ../libs/pool/test/test_bug_5526.cpp ../libs/pool/test/test_bug_5526.cpp_orig <br /> 10d9 <br /> &lt; #include &lt;memory&gt; </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10962 Trac 1.4.3 Marshall Clow Wed, 25 Feb 2015 19:34:58 GMT owner changed https://svn.boost.org/trac10/ticket/10962#comment:1 https://svn.boost.org/trac10/ticket/10962#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Chris Newbold</span> to <span class="trac-author">Marshall Clow</span> </li> </ul> <p> Committed to -develop in 3519294895a9ad350bfce8397f3dff49dd9a9941 </p> Ticket