[Boost-bugs] [Boost C++ Libraries] #5397: multi_index_container does not build with exceptions off on some compilers(armcc)

Subject: [Boost-bugs] [Boost C++ Libraries] #5397: multi_index_container does not build with exceptions off on some compilers(armcc)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-31 00:33:04


#5397: multi_index_container does not build with exceptions off on some
compilers(armcc)
----------------------------------------------------+-----------------------
 Reporter: anonymous | Owner: joaquin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: multi_index
  Version: Boost 1.47.0 | Severity: Showstopper
 Keywords: multi_index_container armcc exceptions |
----------------------------------------------------+-----------------------
 with exceptions off, BOOST_TRY and BOOST_CATCH result in these functions
 not always having a return, making multi_index_container unbuildable in
 our environment

 "../../boost/multi_index_container.hpp", line 503: Error: #940-D: missing
 return statement at end of non-void function
 "boost::multi_index::multi_index_container<Value, IndexSpecifierList,
 Allocator>::insert_(const Value &)"
     }
     ^
 "../../boost/multi_index_container.hpp", line 524: Error: #940-D: missing
 return statement at end of non-void function
 "boost::multi_index::multi_index_container<Value, IndexSpecifierList,
 Allocator>::insert_(const Value &,
 boost::multi_index::detail::multi_index_base_type<Value,
 IndexSpecifierList, Allocator>::type::node_type *)"
     }
     ^
 "../../boost/multi_index_container.hpp", line 585: Error: #940-D: missing
 return statement at end of non-void function
 "boost::multi_index::multi_index_container<Value, IndexSpecifierList,
 Allocator>::modify_(Modifier &,
 boost::multi_index::detail::multi_index_base_type<Value,
 IndexSpecifierList, Allocator>::type::node_type *) [with
 Modifier=Modifier]"
     }
     ^
 "../../boost/multi_index_container.hpp", line 621: Error: #940-D: missing
 return statement at end of non-void function
 "boost::multi_index::multi_index_container<Value, IndexSpecifierList,
 Allocator>::modify_(Modifier &, Rollback &,
 boost::multi_index::detail::multi_index_base_type<Value,
 IndexSpecifierList, Allocator>::type::node_type *) [with
 Modifier=Modifier, Rollback=Rollback]"
     }
     ^

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