Boost C++ Libraries: Ticket #5700: warning in object_pool.hpp:56 https://svn.boost.org/trac10/ticket/5700 <p> In the file object_pool.hpp:56 the variable const size_type next_size shadows a member variable from the superclass. </p> <p> I suggest to rename the variable to nnext_size, the same name is used in the constructor in pool.hpp to prevent this warning. </p> <p> Attached a simple fix for this </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5700 Trac 1.4.3 Markus Mohrhard <markus.mohrhard@…> Fri, 15 Jul 2011 02:58:14 GMT attachment set https://svn.boost.org/trac10/ticket/5700 https://svn.boost.org/trac10/ticket/5700 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_pool.diff</span> </li> </ul> <p> diff against trunk </p> Ticket John Maddock Sat, 16 Jul 2011 14:50:10 GMT <link>https://svn.boost.org/trac10/ticket/5700#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5700#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/73148" title="Update docs to latest AutoIndex version. Fix -Wshadow warnings and ...">[73148]</a>) Update docs to latest <a class="missing wiki">AutoIndex</a> version. Fix -Wshadow warnings and update Jamfile to make them errors. Fix singleton_pool to correctly propagate the <a class="missing wiki">MaxSize</a> parameter. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5700" title="#5700: Bugs: warning in object_pool.hpp:56 (closed: fixed)">#5700</a>. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5568" title="#5568: Bugs: singleton_pool doesn't propagate MaxSize value to his pool (closed: fixed)">#5568</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Tue, 02 Aug 2011 17:04:12 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5700#comment:2 https://svn.boost.org/trac10/ticket/5700#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/73495" title="Merge updated Pool lib from trunk. Fixes #1252. Fixes #2696. Fixes ...">[73495]</a>) Merge updated Pool lib from trunk. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1252" title="#1252: Bugs: [pool] severe overhead with unaligned sizes. (closed: fixed)">#1252</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2696" title="#2696: Bugs: max_size for boost pool (closed: fixed)">#2696</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4960" title="#4960: Bugs: boost::pool_allocator for vector of vectors exhausts memory (closed: fixed)">#4960</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5526" title="#5526: Bugs: fast_pool_allocator crash (closed: fixed)">#5526</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5568" title="#5568: Bugs: singleton_pool doesn't propagate MaxSize value to his pool (closed: fixed)">#5568</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5700" title="#5700: Bugs: warning in object_pool.hpp:56 (closed: fixed)">#5700</a>. </p> Ticket