Commit Graph

48 Commits

Author SHA1 Message Date
Emil Dotchevski
43a57d518c msvc warning workaround, thanks bersbersbers 2019-10-15 13:36:12 -07:00
Emil Dotchevski
5143552817 throw() -> BOOST_NOEXCEPT_OR_NOTHROW 2019-06-06 15:33:45 -07:00
Peter Dimov
1e507924ce Mark throw_exception with BOOST_NORETURN. Closes #12. 2019-06-03 03:06:40 +03:00
Peter Dimov
322d7611af Use boost::wrapexcept<E> as the thrown exception type 2018-09-27 08:13:59 +03:00
Peter Dimov
56dd1c4111 Add/use exception_detail::enable_both 2018-09-27 07:39:18 +03:00
Peter Dimov
c807ae9201 Merge branch 'fix-c4668' of https://github.com/pkolbus/throw_exception into feature/pr-7 2018-09-27 06:27:32 +03:00
Peter Dimov
fe0f62bf17 Move BOOST_SYMBOL_VISIBLE after class 2018-09-27 00:53:52 +03:00
Peter Dimov
4714760035 Merge branch 'develop' of https://github.com/epvbergen/throw_exception into feature/symbol-visible 2018-09-27 00:52:07 +03:00
Nikita Kniazev
7e2f1b4ecd
Removed extra semicolon 2018-09-26 15:28:19 +03:00
van Bergen Emile
8b879067f7 Replaced hardcoded symbol visibility for GCC with BOOST_SYMBOL_VISIBLE 2018-09-25 10:40:26 +02:00
Peter Kolbus
f796dd892a
Fix MSVC C4668 in 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:39:26 -05:00
Peter Kolbus
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
Emil Dotchevski
56d65d5f62 #including config.hpp before other headers. 2017-02-20 17:49:33 -08:00
Paul Groke
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
Emil Dotchevski
f94638e522 Configuration option to allow Boost Exception to use std::shared_ptr instead of boost::shared_ptr. 2016-09-28 17:01:26 -07:00
Emil Dotchevski
fa2195c268 rvalue support in error_info 2015-03-24 15:35:56 -07:00
Andrey Semashev
37e726da58 Remove BOOST_ATTRIBUTE_NORETURN and use BOOST_NORETURN provided by Boost.Config instead. 2014-06-05 00:44:39 +04:00
Emil Dotchevski
ee1aa005fd N3757
[SVN r85538]
2014-06-03 02:37:08 +03:00
Emil Dotchevski
6a42b70891 Merging recent changes from trunk.
[SVN r85636]
2014-06-03 01:57:06 +03:00
Emil Dotchevski
d0bbcab566 Merging long-standing changes from Trunk, including the slightly more sophisticated handling of the to_string conversion done in boost::diagnostic_information.
[SVN r83354]
2014-06-03 01:57:06 +03:00
Emil Dotchevski
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
Emil Dotchevski
abec03383f Merging minor tested bugfixes from trunk.
[SVN r77592]
2014-06-03 01:57:05 +03:00
Emil Dotchevski
3558cf31c5 Fixing a build glitch in the non-intrusive exception_ptr support (Authorized by Eric)
[SVN r72995]
2014-06-03 01:57:04 +03:00
Emil Dotchevski
3655e4c64b Committing changes merged from trunk, most notably optional non-intrusive exception_ptr support for MSVC.
[SVN r70974]
2014-06-03 01:57:04 +03:00
Daniel James
a75cde2ce1 Revert r69620.
It's breaking the tests and probably isn't appropriate for a bug fix release.

[SVN r69816]
2014-06-03 01:57:04 +03:00
Emil Dotchevski
3c5efe3c3b Committing changes merged from trunk, most notably optional non-intrusive exception_ptr support for MSVC.
[SVN r69620]
2014-06-03 01:57:03 +03:00
Emil Dotchevski
a2b07f059c Ticket #4344
[SVN r67128]
2014-06-03 01:57:03 +03:00
Emil Dotchevski
173fa9c41e merging changes from trunk.
[SVN r63565]
2014-06-03 01:57:02 +03:00
Emil Dotchevski
a53446874b updating from trunk.
[SVN r60338]
2014-06-03 01:57:02 +03:00
Emil Dotchevski
89e6b4ef35 minor BOOST_THROW_EXCEPTION fix.
[SVN r58499]
2014-06-03 01:57:01 +03:00
Emil Dotchevski
fed2b48aa9 Merging changes from trunk.
[SVN r58421]
2014-06-03 01:57:01 +03:00
Emil Dotchevski
bee54c1aee Bug ticket 3641, also merging other fixes from Trunk.
[SVN r57764]
2014-06-03 01:57:01 +03:00
Emil Dotchevski
c920a49ab3 Fixing a comment error and adding a trivial protected destructor.
[SVN r57379]
2014-06-03 01:57:00 +03:00
Emil Dotchevski
2af84878d2 Merging from trunk: new function diagnostic_information_what, and mutable error info access.
[SVN r56477]
2014-06-03 01:56:59 +03:00
Emil Dotchevski
a92ed0a337 Merging in changes trunk updates: adding standard error_info typedefs, updating the documentation.
[SVN r55094]
2014-06-03 01:56:59 +03:00
Emil Dotchevski
a8e3b197cb Added BOOST_ATTRIBUTE_NORETURN to suppress warnings in boost::throw_exception
[SVN r54683]
2014-06-03 01:56:58 +03:00
Emil Dotchevski
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
Emil Dotchevski
4dc5b8d088 merged borland 6+ support from trunk.
[SVN r49190]
2014-06-03 01:56:55 +03:00
Emil Dotchevski
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
Emil Dotchevski
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
Emil Dotchevski
ea1c3adce9 Removed boost::exception::what. Technically not a bug fix but solves the problem reported by Oliver Kowalke on the Boost Developers mailing list.
[SVN r46931]
2014-06-03 01:56:53 +03:00
Emil Dotchevski
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
Robert Ramey
09c7cb53c9 fixes comeau bug
[SVN r24278]
2014-06-03 01:56:52 +03:00
Douglas Gregor
d9670d560c Converted to Boost Software License, Version 1.0
[SVN r24055]
2014-06-03 01:56:51 +03:00
Peter Dimov
7c576f0229 _MSC_VER use clarified.
[SVN r20992]
2014-06-03 01:56:51 +03:00
Peter Dimov
9b6b3e00d4 -Wundef fixes.
[SVN r18788]
2014-06-03 01:56:50 +03:00
Peter Dimov
2efac9cd36 boost::throw_exception documentation added.
[SVN r16239]
2014-06-03 01:56:50 +03:00
Peter Dimov
4894ebe843 BOOST_NO_EXCEPTIONS support added.
[SVN r14835]
2014-06-03 01:56:50 +03:00