Boost C++ Libraries: Ticket #2406: implementation in header causes link errors https://svn.boost.org/trac10/ticket/2406 <p> gzip.hpp has some implementation in the header which will cause link errors if the component is used in more than one place. the gzip_header/gzip_footer classes can just go in a .cpp file </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2406 Trac 1.4.3 Jonathan Turkanis Mon, 13 Oct 2008 16:44:31 GMT status changed https://svn.boost.org/trac10/ticket/2406#comment:1 https://svn.boost.org/trac10/ticket/2406#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Vladimir Prus Sat, 30 May 2009 06:16:29 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2406#comment:2 https://svn.boost.org/trac10/ticket/2406#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/53427" title="Avoid non-inline non-template functions in headers. This fixes #2406. ...">[53427]</a>) Avoid non-inline non-template functions in headers. </p> <p> This fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2406" title="#2406: Bugs: implementation in header causes link errors (closed: fixed)">#2406</a>. gzip.hpp had a few functions that are not templates or inline, which caused link errors. Since the functions are fairly big, this patch moves them into a cpp file. </p> Ticket