[Boost-bugs] [Boost C++ Libraries] #7001: Macro guards are missing in boost/math/distributions/logistic.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #7001: Macro guards are missing in boost/math/distributions/logistic.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-20 11:11:54


#7001: Macro guards are missing in boost/math/distributions/logistic.hpp
-----------------------------------------------------------------+----------
 Reporter: jc_doubleimpact <jeanclaude.doubleimpact@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost Development Trunk | Severity: Problem
 Keywords: logistic guard |
-----------------------------------------------------------------+----------
 #ifndef BOOST_STATS_LOGISTIC_HPP
 #define BOOST_STATS_LOGISTIC_HPP

 ...

 #endif //BOOST_STATS_LOGISTIC_HPP

 are missing. This causes compilation error: "Class template has already
 been defined".

 This is a minimal example where the problem occurs:
 {{{
 #include <boost/math/distributions/logistic.hpp>
 #include <boost/math/distributions/logistic.hpp>

 int main(){return 0;}
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7001>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC