Re: [Boost-bugs] [Boost C++ Libraries] #7867: shared_ptr not usable with exceptions disabled on clang

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7867: shared_ptr not usable with exceptions disabled on clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-22 12:44:14


#7867: shared_ptr not usable with exceptions disabled on clang
--------------------------------------+-------------------------------------
  Reporter: mgaunard | Owner: glenfe
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
--------------------------------------+-------------------------------------

Comment (by matemaciek@…):

 I've just updated to 1.53.0, simmilar problem in different place:

 {{{
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:135:13: error:
 cannot use 'throw' with
       exceptions disabled
             throw;
             ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:128:9: error:
 cannot use 'try' with
       exceptions disabled
         try
         ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:172:13: error:
 cannot use 'throw' with
       exceptions disabled
             throw;
             ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:165:9: error:
 cannot use 'try' with
       exceptions disabled
         try
         ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:204:13: error:
 cannot use 'throw' with
       exceptions disabled
             throw;
             ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:197:9: error:
 cannot use 'try' with
       exceptions disabled
         try
         ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:248:13: error:
 cannot use 'throw' with
       exceptions disabled
             throw;
             ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:234:9: error:
 cannot use 'try' with
       exceptions disabled
         try
         ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:296:13: error:
 cannot use 'throw' with
       exceptions disabled
             throw;
             ^
 /some_path/include/boost/smart_ptr/detail/shared_count.hpp:282:9: error:
 cannot use 'try' with
       exceptions disabled
         try
         ^
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7867#comment:4>
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:12 UTC