Boost C++ Libraries: Ticket #10468: Regression in boost::lockfree::spsc_queue.reset() https://svn.boost.org/trac10/ticket/10468 <p> Hi, </p> <p> With Boost 1.55, the following code compiles under MSVC 11 (Visual Studio 2012 with Update 4) without problem: </p> <p> boost::lockfree::spsc_queue&lt;int, boost::lockfree::capacity&lt;1024&gt; &gt; spsc_queue; spsc_queue.reset(); </p> <p> However, the same code fails to compile under Boost 1.56, producing the following error: </p> <p> 1&gt;C:\ThirdPartySDK\boost_1_56_0\boost\lockfree\spsc_queue.hpp(339): error C2660: 'boost::lockfree::detail::ringbuffer_base&lt;T&gt;::pop' : function does not take 1 arguments 1&gt; with 1&gt; [ 1&gt; T=int 1&gt; ] 1&gt; C:\ThirdPartySDK\boost_1_56_0\boost\lockfree\spsc_queue.hpp(334) : while compiling class template member function 'void boost::lockfree::detail::ringbuffer_base&lt;T&gt;::reset(void)' 1&gt; with 1&gt; [ 1&gt; T=int 1&gt; ] 1&gt; icd.cpp(308) : see reference to function template instantiation 'void boost::lockfree::detail::ringbuffer_base&lt;T&gt;::reset(void)' being compiled 1&gt; with 1&gt; [ 1&gt; T=int 1&gt; ] 1&gt; C:\ThirdPartySDK\boost_1_56_0\boost\lockfree\spsc_queue.hpp(408) : see reference to class template instantiation 'boost::lockfree::detail::ringbuffer_base&lt;T&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; T=int 1&gt; ] 1&gt; C:\ThirdPartySDK\boost_1_56_0\boost\lockfree\spsc_queue.hpp(643) : see reference to class template instantiation 'boost::lockfree::detail::compile_time_sized_ringbuffer&lt;T,<a class="missing wiki">MaxSize</a>&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; T=int, 1&gt; <a class="missing wiki">MaxSize</a>=1024 1&gt; ] 1&gt; icd.cpp(307) : see reference to class template instantiation 'boost::lockfree::spsc_queue&lt;T,A0&gt;' being compiled 1&gt; with 1&gt; [ 1&gt; T=int, 1&gt; A0=boost::lockfree::capacity&lt;1024&gt; 1&gt; ] </p> <p> Thanks Mark. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10468 Trac 1.4.3 timblechmann Fri, 05 Sep 2014 17:26:30 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10468#comment:1 https://svn.boost.org/trac10/ticket/10468#comment:1 <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> fixed in git </p> Ticket anonymous Tue, 04 Nov 2014 11:20:23 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/10468#comment:2 https://svn.boost.org/trac10/ticket/10468#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Hi, </p> <p> Just to say that the problem remains in the Boost 1.57 release. </p> Ticket timblechmann Sat, 08 Nov 2014 22:34:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10468#comment:3 https://svn.boost.org/trac10/ticket/10468#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> forgot to push ... now it is in develop </p> Ticket anonymous Thu, 05 Mar 2015 12:58:46 GMT <link>https://svn.boost.org/trac10/ticket/10468#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10468#comment:4</guid> <description> <p> I took and compiled boost with msvc 2013 and I still see the same problem in my application. Compared the sources of 1.57 release and the master from git, and they are the same too. </p> <p> Is the problem fixed? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 05 Mar 2015 12:59:16 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10468#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10468#comment:4</guid> <description> <p> I took and compiled boost with msvc 2013 and I still see the same problem in my application. Compared the sources of 1.57 release and the master from git, and they are the same too. </p> <p> Is the problem fixed? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 05 Mar 2015 12:59:48 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10468#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10468#comment:4</guid> <description> <p> I took and compiled boost with msvc 2013 and I still see the same problem in my application. Compared the sources of 1.57 release and the master from git, and they are the same too. </p> <p> Is the problem fixed? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 17 Mar 2015 10:18:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10468#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10468#comment:5</guid> <description> <p> Hi, </p> <p> The problem now appears to be fixed in Boost 1.58 Beta 1. </p> <p> Thanks for the fix. Mark. </p> </description> <category>Ticket</category> </item> </channel> </rss>