Boost C++ Libraries: Ticket #11237: Cannot include iostreams/filter/test.hpp in two compilation units https://svn.boost.org/trac10/ticket/11237 <p> The function "boost::iostreams::rand(int)" is multiply defined if you include test.hpp in two separate compilation units. This function should probably just be marked as inlined. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11237 Trac 1.4.3 nathan@… Fri, 24 Apr 2015 16:16:27 GMT attachment set https://svn.boost.org/trac10/ticket/11237 https://svn.boost.org/trac10/ticket/11237 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">rand.diff</span> </li> </ul> <p> Inline the rand function so it doesn't get defined multiple times </p> Ticket