Commit Graph

277 Commits

Author SHA1 Message Date
Peter Dimov 26f3ce3c5c Add throw_column to boost::exception, make get_throw_location work for it 2022-02-16 13:45:54 +02:00
Peter Dimov e14f6ed69e Add line numbers to examples, highlight throw line 2022-02-15 20:48:18 +02:00
Peter Dimov 3c67fc2b54 Update examples to use boost::core::verbose_terminate_handler 2022-02-15 20:26:40 +02:00
Peter Dimov cffa8cd68c Add a test for throw_with_location with RTTI off 2022-02-15 00:59:05 +02:00
Peter Dimov 8608fdd923 Update documentation 2022-02-12 20:59:49 +02:00
Peter Dimov b3a7f8e178 Update documentation 2022-02-12 03:33:44 +02:00
Peter Dimov 3e51d32285 Avoid signed/unsigned compare warnings in tests 2022-02-10 22:46:10 +02:00
Peter Dimov f2ca8df9ab Merge branch 'develop' into feature/throw-with-location 2022-02-10 22:42:17 +02:00
Peter Dimov 3470506880 Update ci.yml 2022-02-10 20:12:22 +02:00
Peter Dimov c5dfcc3dd4 Add boost::throw_with_location 2022-02-10 20:02:30 +02:00
Peter Dimov 7b314a2184 Update .drone.jsonnet 2022-02-08 17:09:40 +02:00
Peter Dimov dbbbb71232 Update throw_exception_test4.cpp to reflect changes to function name coming from BOOST_CURRENT_LOCATION 2022-02-08 16:55:28 +02:00
Peter Dimov d0f136e079 Add Drone files 2022-02-08 16:35:02 +02:00
Peter Dimov 8c7b14f68b Update categories in libraries.json boost-1.78.0 2021-11-07 20:33:59 +02:00
Peter Dimov 37ad7254d2 Enable syntax hightlighting boost-1.78.0.beta1 2021-10-28 23:18:32 +03:00
Peter Dimov f6055628e6 Add msvc-14.3 to ci.yml 2021-10-28 23:18:06 +03:00
Ion Gaztañaga 65eddbb2f0 Small fix for those using -Wsign-conversion (#21)
* Small fix for those using -Wsign-conversion

* Change I to std::size_t in wrapexcept_add_base

A better fix for -Wsign-conversion
2021-10-11 21:07:06 +03:00
Peter Dimov 121c1407fd Merge branch 'develop' into feature/bx-rethrow-nx 2021-09-30 22:19:18 +03:00
Peter Dimov 5eff93e41b Update ci.yml 2021-09-30 22:00:09 +03:00
Peter Dimov 8787d13e65 Update ci.yml 2021-09-30 21:36:58 +03:00
Peter Dimov 0a922307ec Update ci.yml 2021-09-30 21:34:37 +03:00
Peter Dimov 9ca27bddfc Make clone_impl::rethrow use boost::throw_exception when exceptions are disabled 2021-09-30 21:24:13 +03:00
Peter Dimov 1d555aff4b Fix throw_exception_nx_test2 2021-09-30 21:16:03 +03:00
Peter Dimov b432f24664 Update make_exception_ptr_nx tests to use boost::make_exception_ptr 2021-09-30 20:49:40 +03:00
Peter Dimov 9f6a2e7b89 Disable warning 4530 2021-09-30 20:46:02 +03:00
Peter Dimov 95e02ea52b Update .github/workflows boost-1.77.0.beta1 boost-1.77.0 2021-04-19 21:30:04 +03:00
Peter Dimov 834a4f04dc Update .github/workflows 2021-04-19 20:32:32 +03:00
Peter Dimov ad30f163ef Add -DBUILD_TESTING=ON to .yml files; it's not default anymore 2021-03-19 04:21:23 +02:00
Peter Dimov b1f6a8b25f Fix .travis.yml 2021-03-18 16:22:56 +02:00
Peter Dimov 264ee74b64 Update .travis.yml 2021-03-18 02:34:31 +02:00
Peter Dimov 5b675bbc9c Merge pull request #19 from eldiener/develop
[skip ci] Add "cxxstd" json field
boost-1.76.0 boost-1.76.0.beta1
2021-01-21 23:51:17 +02:00
Edward Diener 9c0a5b810b [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-21 16:23:18 -05:00
Peter Dimov 5e6223c838 Update ci.yml 2020-12-23 07:09:18 +02:00
Peter Dimov f3b43b5679 Define boost::wrapexcept when BOOST_NO_EXCEPTIONS is defined, to enable boost::make_exception_ptr 2020-12-20 02:03:11 +02:00
Peter Dimov 397bc3d675 Merge branch 'fix-wrapexcept' of https://github.com/palebedev/throw_exception into feature/pr-18 2020-12-19 15:00:54 +02:00
Peter Dimov 6360fb6f36 Add make_exception_ptr_test2 2020-12-19 15:00:18 +02:00
Peter Dimov bd5f6a255f Add make_exception_ptr_test 2020-12-19 14:58:04 +02:00
Peter Dimov 9f37f214ed Add .github/workflows 2020-12-19 14:13:33 +02:00
Pavel A. Lebedev 3144a406d4 Define boost::wrapexcept even when BOOST_EXCEPTION_DISABLE is defined.
Since Boost.Exception started using boost::wrapexcept in implementation
of boost::exception_ptr, we need to define it even when
BOOST_EXCEPTION_DISABLE is defined, otherwise it won't compile:

$ clang++ -DBOOST_EXCEPTION_DISABLE -w -x c++ \
  /usr/include/boost/exception_ptr.hpp -fsyntax-only
In file included from /usr/include/boost/exception_ptr.hpp:9:
/usr/include/boost/exception/detail/exception_ptr.hpp:87:49: error: use of
undeclared identifier 'wrapexcept'
        return exception_ptr(boost::make_shared<wrapexcept<E> >(cp));
                                                ^
1 error generated.
2020-12-18 01:45:19 +03:00
Peter Dimov 3d08795778 Update maintainer e-mail 2020-12-12 01:06:36 +02:00
Peter Dimov e0e262cc01 Update appveyor.yml 2020-11-14 21:40:29 +02:00
Peter Dimov da6f5420fe Remove manual boost_install call from CMakeLists.txt boost-1.74.0.beta1 boost-1.74.0 boost-1.75.0 boost-1.75.0.beta1 2020-06-14 19:19:43 +03:00
Peter Dimov 924eb33335 Merge pull request #16 from eldiener/develop
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74
2020-05-06 16:35:30 +03:00
Peter Dimov 37f7c5fd30 Add BOOST_OVERRIDE to clone() and rethrow() 2020-04-14 00:41:54 +03:00
Edward Diener a9ea585926 Merge branch 'develop' of https://github.com/eldiener/throw_exception into cppbuilder 2020-04-08 12:53:23 -04:00
Emil Dotchevski 548084bd4c Added #pragma clang system_header boost-1.73.0 2020-04-06 18:15:35 -07:00
Edward Diener 237c7a35d6 Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-23 14:35:01 -04:00
Peter Dimov 3cd085a324 Rename 'release history' to 'revision history' boost-1.73.0.beta1 2020-01-21 03:25:16 +02:00
Peter Dimov 50a43b9512 Use BOOST_INCLUDE_LIBRARIES=throw_exception in the CMake install test 2020-01-21 00:39:57 +02:00
Peter Dimov e452a9ee16 Update .travis.yml 2020-01-09 16:06:37 +02:00