Boost C++ Libraries: Ticket #5521: build error in scoped_connection(MacOS) https://svn.boost.org/trac10/ticket/5521 <p> Code which use the swap method of scoped_connection get a linker error(at least on MacOS with GCC 4.0). </p> <p> This attached patch fixed it. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5521 Trac 1.4.3 anonymous Thu, 05 May 2011 14:00:39 GMT attachment set https://svn.boost.org/trac10/ticket/5521 https://svn.boost.org/trac10/ticket/5521 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_signals_fix_link_error.patch</span> </li> </ul> Ticket Marshall Clow Wed, 01 Jun 2011 16:27:43 GMT owner, status changed https://svn.boost.org/trac10/ticket/5521#comment:1 https://svn.boost.org/trac10/ticket/5521#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Douglas Gregor</span> to <span class="trac-author">Marshall Clow</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> Here's my test program: </p> <pre class="wiki">#include &lt;boost/signals/connection.hpp&gt; int main ( int argc, char *argv [] ) { boost::signals::scoped_connection c1, c2; std::swap ( c1, c2 ); return 0; } </pre><p> This compiles, links and runs (Mac OS X 10.6.7, gcc 4.2.1). Do you have an simple program that fails? </p> Ticket Marshall Clow Thu, 22 Sep 2011 18:56:50 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5521#comment:2 https://svn.boost.org/trac10/ticket/5521#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</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/74521" title="Applied patch, added test; Fixes #5521">[74521]</a>) Applied patch, added test; Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5521" title="#5521: Bugs: build error in scoped_connection(MacOS) (closed: fixed)">#5521</a> </p> Ticket