[Boost-bugs] [Boost C++ Libraries] #10962: libs/pool/test/test_bug_5526.cpp fails to compile due to missing header

Subject: [Boost-bugs] [Boost C++ Libraries] #10962: libs/pool/test/test_bug_5526.cpp fails to compile due to missing header
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-01-23 18:57:19


#10962: libs/pool/test/test_bug_5526.cpp fails to compile due to missing header
-------------------------------------------+----------------------
 Reporter: Aparna Kumta <aparna.kumta@…> | Owner: cnewbold
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: pool
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+----------------------
 Test libs/pool/test/test_bug_5526.cpp fails to compile with oracle Solaris
 Studio12.4 on Solaris11.2. The error message is \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Error: auto_ptr is not a
 member of std. \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Error: A declaration does
 not specify a tag or an identifier. \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Error: Use ";" to
 terminate declarations. \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Error: A declaration was
 expected instead of "<". \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Warning: declarator
 required in declaration. \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Error: Use ";" to
 terminate declarations. \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Error: A declaration was
 expected instead of ">". \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Error: aptr is not
 defined. \\
 "../libs/pool/test/test_bug_5526.cpp", line 29: Error: A declaration does
 not specify a tag or an identifier. \\
 "../libs/pool/test/test_bug_5526.cpp", line 33: Error: aptr is not
 defined. \\
 9 Error(s) and 1 Warning(s) detected. \\

 Adding \\
 #include <memory> \\
 to the test seems to resolve the issue. \\

 The diff's are \\
 diff ../libs/pool/test/test_bug_5526.cpp
 ../libs/pool/test/test_bug_5526.cpp_orig \\
 10d9 \\
 < #include <memory>

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10962>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC