10e161cc56
Add -Wconversion et al to test/Jamfile
2023-06-25 16:05:24 +03:00
d86a6220d5
Replace 0 with BOOST_NULLPTR
2022-07-13 07:50:58 -05:00
f2b7655016
Change del.p_=0 to del.p_=nullptr ( #22 )
...
* Change del.p_=0 to del.p_=nullptr
A simple change (I hope) that cleans up compiler warnings and errors.
* Support older compilers
* Update throw_exception.hpp
* Update throw_exception.hpp
2022-06-09 15:54:12 +03:00
26f3ce3c5c
Add throw_column to boost::exception, make get_throw_location work for it
2022-02-16 13:45:54 +02:00
cffa8cd68c
Add a test for throw_with_location with RTTI off
2022-02-15 00:59:05 +02:00
c5dfcc3dd4
Add boost::throw_with_location
2022-02-10 20:02:30 +02:00
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
f3b43b5679
Define boost::wrapexcept when BOOST_NO_EXCEPTIONS is defined, to enable boost::make_exception_ptr
2020-12-20 02:03:11 +02:00
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
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
37f7c5fd30
Add BOOST_OVERRIDE to clone() and rethrow()
2020-04-14 00:41:54 +03:00
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
bc6f095b3d
Fix include guards
2019-12-17 19:49:27 +02:00
26bc9374e2
No need to deep-copy the boost::exception base
2019-11-30 22:42:43 +02:00
a2a78f6e46
Test (and fix) error info with virtual inheritance from boost::exception
2019-11-30 21:51:32 +02:00
ea9bd58f8c
Remove inline
from throw_exception
2019-11-26 19:10:57 +02:00
dad5cb4ed3
Add boost::throw_exception overload taking a boost::source_location; use it in BOOST_THROW_EXCEPTION
2019-11-25 19:17:47 +02:00
1e507924ce
Mark throw_exception with BOOST_NORETURN. Closes #12 .
2019-06-03 03:06:40 +03:00
56dd1c4111
Add/use exception_detail::enable_both
2018-09-27 07:39:18 +03:00
c807ae9201
Merge branch 'fix-c4668' of https://github.com/pkolbus/throw_exception into feature/pr-7
2018-09-27 06:27:32 +03:00
f5022b5ca8
Fix MSVC C4668 in throw_exception.hpp
...
Fix MSVC C4668 warnings (undefined preprocessor macro) for __GNUC__ and __GNUC_MINOR__ by checking if __GNUC__ is defined first.
2018-03-26 22:38:33 -05:00
56d65d5f62
#including config.hpp before other headers.
2017-02-20 17:49:33 -08:00
cce19ef60f
Don't include stuff inside #pragma warning push/pop, include boost/config.hpp before testing BOOST_ macros.
2017-02-15 13:18:06 +01:00
37e726da58
Remove BOOST_ATTRIBUTE_NORETURN and use BOOST_NORETURN provided by Boost.Config instead.
2014-06-05 00:44:39 +04:00
6a42b70891
Merging recent changes from trunk.
...
[SVN r85636]
2014-06-03 01:57:06 +03:00
9b26d9a9cc
Merged changes from trunk: dealing with warnings, and a compile error on Win CE.
...
[SVN r79026]
2014-06-03 01:57:05 +03:00
a2b07f059c
Ticket #4344
...
[SVN r67128]
2014-06-03 01:57:03 +03:00
173fa9c41e
merging changes from trunk.
...
[SVN r63565]
2014-06-03 01:57:02 +03:00
a53446874b
updating from trunk.
...
[SVN r60338]
2014-06-03 01:57:02 +03:00
89e6b4ef35
minor BOOST_THROW_EXCEPTION fix.
...
[SVN r58499]
2014-06-03 01:57:01 +03:00
fed2b48aa9
Merging changes from trunk.
...
[SVN r58421]
2014-06-03 01:57:01 +03:00
c920a49ab3
Fixing a comment error and adding a trivial protected destructor.
...
[SVN r57379]
2014-06-03 01:57:00 +03:00
a8e3b197cb
Added BOOST_ATTRIBUTE_NORETURN to suppress warnings in boost::throw_exception
...
[SVN r54683]
2014-06-03 01:56:58 +03:00
db856c78f8
added functions current_exception_cast, current_exception_diagnostic_information, various other minor changes, documentation update
...
[SVN r52236]
2014-06-03 01:56:56 +03:00
4dc5b8d088
merged borland 6+ support from trunk.
...
[SVN r49190]
2014-06-03 01:56:55 +03:00
fc1d3ff88b
Boost Exception major refactoring: works with or without RTTI, vastly improved boost::throw_exception integration.
...
[SVN r48905]
2014-06-03 01:56:54 +03:00
7cc40d49ef
BOOST_NO_TYPEID support exception/index.html redirection Added Boost Exception to libraries.htm and maintainers.txt Added Boost Exception to status/Jamfile.v2
...
[SVN r47010]
2014-06-03 01:56:53 +03:00
ac073290ab
Boost Exception In other libraries, watch for compile error referring to throw_exception_assert_compatibility in boost::throw_exception. Resolve by throwing an exception that derives from std::exception. This is not a new requirement but it is being enforced now.
...
[SVN r46818]
2014-06-03 01:56:52 +03:00
09c7cb53c9
fixes comeau bug
...
[SVN r24278]
2014-06-03 01:56:52 +03:00
d9670d560c
Converted to Boost Software License, Version 1.0
...
[SVN r24055]
2014-06-03 01:56:51 +03:00
7c576f0229
_MSC_VER use clarified.
...
[SVN r20992]
2014-06-03 01:56:51 +03:00
9b6b3e00d4
-Wundef fixes.
...
[SVN r18788]
2014-06-03 01:56:50 +03:00
2efac9cd36
boost::throw_exception documentation added.
...
[SVN r16239]
2014-06-03 01:56:50 +03:00
4894ebe843
BOOST_NO_EXCEPTIONS support added.
...
[SVN r14835]
2014-06-03 01:56:50 +03:00