[Boost-bugs] [Boost C++ Libraries] #5773: boost.smart_ptr clashes with PAM

Subject: [Boost-bugs] [Boost C++ Libraries] #5773: boost.smart_ptr clashes with PAM
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-11 07:39:00


#5773: boost.smart_ptr clashes with PAM
------------------------------------+---------------------------------------
 Reporter: SebastianLuther@… | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------------+---------------------------------------
 {{{
 The following test case (reduced from drizzle [1]) compiles fine with with
 boost-1.46.1 and failes with boost-1.47.0.

 $ cat test.cpp
 #include <security/pam_misc.h>
 #include <boost/shared_ptr.hpp>
 int main() {}


 $ g++ test.cpp
 In file included from /usr/include/boost/smart_ptr/shared_ptr.hpp:32,
                  from /usr/include/boost/shared_ptr.hpp:17,
                  from test.cpp:2:
 /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor
 'boost::detail::shared_count::shared_count(P,
 boost::detail::sp_inplace_tag<D>)':
 /usr/include/boost/smart_ptr/detail/shared_count.hpp:164: error: expected
 ';' before '(' token
 /usr/include/boost/smart_ptr/detail/shared_count.hpp: In constructor
 'boost::detail::shared_count::shared_count(P,
 boost::detail::sp_inplace_tag<D>, A)':
 /usr/include/boost/smart_ptr/detail/shared_count.hpp:250: error: expected
 ';' before '(' token

 security/pam_misc.h belongs to PAM [2]

 [1] http://www.drizzle.org/
 [2] http://www.kernel.org/pub/linux/libs/pam/
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5773>
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:07 UTC