Boost C++ Libraries: Ticket #7001: Macro guards are missing in boost/math/distributions/logistic.hpp https://svn.boost.org/trac10/ticket/7001 <p> #ifndef BOOST_STATS_LOGISTIC_HPP #define BOOST_STATS_LOGISTIC_HPP </p> <p> ... </p> <p> #endif <em>BOOST_STATS_LOGISTIC_HPP </em></p> <p> are missing. This causes compilation error: "Class template has already been defined". </p> <p> This is a minimal example where the problem occurs: </p> <pre class="wiki">#include &lt;boost/math/distributions/logistic.hpp&gt; #include &lt;boost/math/distributions/logistic.hpp&gt; int main(){return 0;} </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7001 Trac 1.4.3 jc_doubleimpact <jeanclaude.doubleimpact@…> Wed, 20 Jun 2012 11:12:42 GMT attachment set https://svn.boost.org/trac10/ticket/7001 https://svn.boost.org/trac10/ticket/7001 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">logistic.hpp.patch</span> </li> </ul> <p> Patch file </p> Ticket John Maddock Thu, 21 Jun 2012 09:18:50 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7001#comment:1 https://svn.boost.org/trac10/ticket/7001#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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/79027" title="Add missing include guards. Fixes #7001.">[79027]</a>) Add missing include guards. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7001" title="#7001: Bugs: Macro guards are missing in boost/math/distributions/logistic.hpp (closed: fixed)">#7001</a>. </p> Ticket