Peter Dimov
|
f48cc5aec6
|
Add failed()
|
2018-09-22 17:34:40 +03:00 |
|
Peter Dimov
|
349fb30e8e
|
Remove the user-provided ~error_category in C++03 mode, to fix use after main
|
2018-09-22 16:15:49 +03:00 |
|
Peter Dimov
|
b300fdeef4
|
Use CP_UTF8 when BOOST_SYSTEM_USE_UTF8 is defined
|
2018-09-21 20:45:44 +03:00 |
|
Peter Dimov
|
24179e73c9
|
Move message() at its standard place, next to its other overload
|
2018-09-21 17:19:50 +03:00 |
|
Peter Dimov
|
c182707dfe
|
Merge branch 'develop' into feature/message_r
|
2018-09-21 17:08:31 +03:00 |
|
Peter Dimov
|
d79e38e5d5
|
Remove noexcept from conversions to std::error_code/condition; they allocate and can throw
|
2018-09-21 17:07:51 +03:00 |
|
Peter Dimov
|
73de31c541
|
MinGW32 doesn't have std::snprintf
|
2018-09-21 16:01:29 +03:00 |
|
Peter Dimov
|
7b401cef93
|
Improve Windows implementation of message()
|
2018-09-21 06:45:56 +03:00 |
|
Peter Dimov
|
e180bfe37e
|
Add system_category_test; fix Windows implementation
|
2018-09-21 04:51:50 +03:00 |
|
Peter Dimov
|
ec93d058fe
|
Add a noexcept overload of message() taking a buffer
|
2018-09-21 03:16:55 +03:00 |
|
Peter Dimov
|
af9646c582
|
Fix #endif placement
|
2018-09-19 01:10:12 +03:00 |
|
Peter Dimov
|
515fbb21b4
|
Use strerror_r on glibc
|
2018-09-18 22:21:13 +03:00 |
|
Peter Dimov
|
465e9e019e
|
Remove noexcept from operator std::error_category const& (allocates and can throw)
|
2018-09-17 20:12:10 +03:00 |
|
Peter Dimov
|
11a908a3fe
|
Fix hash_value
|
2018-09-17 18:18:37 +03:00 |
|
Peter Dimov
|
a9e56e1a6a
|
Remove dependency on type_traits
|
2018-09-17 03:21:42 +03:00 |
|
Peter Dimov
|
041678752b
|
Revert deletion of BOOST_*_API check
|
2018-09-17 02:55:40 +03:00 |
|
Peter Dimov
|
56651f6633
|
Disable <system_error> interoperation on g++ 4.4/4.5
|
2018-09-16 20:49:33 +03:00 |
|
Peter Dimov
|
6bd05dc92d
|
Add BOOST_SYMBOL_VISIBLE to category classes to placate UBSan
|
2018-09-16 19:32:38 +03:00 |
|
Peter Dimov
|
81c34ab7a4
|
Remove autolink
|
2018-09-16 07:06:04 +03:00 |
|
Peter Dimov
|
9d86d0296e
|
Revert boost/system/config.hpp
|
2018-09-16 07:04:27 +03:00 |
|
Peter Dimov
|
34600a62df
|
The constexpr workarounds are no longer needed
|
2018-09-16 06:15:22 +03:00 |
|
Peter Dimov
|
57ecfeb2c2
|
Use map::insert instead of map::emplace, which doesn't work on g++ pre-6 (and msvc-10.0)
|
2018-09-16 05:58:29 +03:00 |
|
Peter Dimov
|
731df11ffd
|
Add system_category_posix.hpp; remove BOOST_SYSTEM_WIN32
|
2018-09-16 05:44:58 +03:00 |
|
Peter Dimov
|
f14e9e7d5c
|
Revert changes to api_config.hpp
|
2018-09-16 05:23:35 +03:00 |
|
Peter Dimov
|
038786179a
|
Remove unnecessary files
|
2018-09-16 03:05:17 +03:00 |
|
Peter Dimov
|
2fa0a00583
|
Make Boost.System header-only
|
2018-09-16 03:04:19 +03:00 |
|
Peter Dimov
|
053972643d
|
Replace BOOST_SYSTEM_NOEXCEPT with BOOST_NOEXCEPT
|
2018-09-15 20:06:14 +03:00 |
|
Peter Dimov
|
736d618120
|
Reformat error_code.hpp
|
2018-09-15 20:05:10 +03:00 |
|
Peter Dimov
|
f92c0fc9b7
|
Use enable_if from type_traits
|
2018-09-15 01:50:41 +03:00 |
|
Peter Dimov
|
dc5a054d9e
|
Remove unnecessary #include
|
2018-09-15 01:00:39 +03:00 |
|
Peter Dimov
|
13199e504c
|
Reorder includes to avoid ::gets error under Clang 3.8, 3.9
|
2018-07-19 19:48:20 +03:00 |
|
Peter Dimov
|
3c59cea7ef
|
Disable constexpr on Clang/libstdc++4.8
|
2018-07-19 19:04:53 +03:00 |
|
Peter Dimov
|
e57cca107d
|
Disable constexpr on Clang/Win
|
2018-07-09 13:50:27 +03:00 |
|
Peter Dimov
|
9e039cfaf9
|
Fix dllexport mismatch errors under clang++
|
2018-06-29 05:39:42 +03:00 |
|
Peter Dimov
|
084d8e119e
|
Update g++ workaround to exclude 7.4/8.1
|
2018-06-29 03:56:56 +03:00 |
|
Peter Dimov
|
d1f3d3b349
|
Merge branch 'develop' into feature/constexpr
|
2018-01-29 14:57:30 +02:00 |
|
Peter Dimov
|
0433e561b5
|
Change the invalid address of boost::throws() to 8 from 1, so that it's properly aligned
|
2018-01-29 02:29:14 +02:00 |
|
Peter Dimov
|
35e3e22c7e
|
Add BOOST_SYSTEM_CONSTEXPR to operator bool
|
2018-01-22 23:39:59 +02:00 |
|
Peter Dimov
|
7b94454e7c
|
Merge branch 'develop' into feature/constexpr
|
2018-01-22 21:13:37 +02:00 |
|
Peter Dimov
|
0b48bb8166
|
Use explicit operator bool when available
|
2018-01-22 21:13:02 +02:00 |
|
Peter Dimov
|
19d5bf5f04
|
clang++ 3.8 and below requires a user-provided default constructor
|
2018-01-22 17:39:29 +02:00 |
|
Peter Dimov
|
587ceaf739
|
Enable constexpr in header-only mode as well
|
2018-01-22 04:56:40 +02:00 |
|
Peter Dimov
|
77817d8847
|
Fix MinGW link errors by properly exporting symbols
|
2018-01-22 02:20:01 +02:00 |
|
Peter Dimov
|
61b4d8ef24
|
Fix variant=release link errors
|
2018-01-21 21:42:22 +02:00 |
|
Peter Dimov
|
83ddde6b78
|
Disable constexpr on g++ 7/8 in C++17 mode due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83835
|
2018-01-14 15:55:23 +02:00 |
|
Peter Dimov
|
fe55a4a963
|
Make error_category::op==, !=, < nonmembers (a non-literal class can't have constexpr members acc. to g++)
|
2018-01-14 08:49:25 +02:00 |
|
Peter Dimov
|
7b6dcf6ac6
|
Make error_code, error_condition literal if C++14 constexpr is available
|
2018-01-14 07:24:00 +02:00 |
|
Peter Dimov
|
d28c6ff128
|
Do not put categories in an unnamed namespace, as this is an ODR violation in header-only mode
|
2018-01-14 05:56:15 +02:00 |
|
Daniela Engert
|
706659a97f
|
std::basic_string::size() may return a size_type which is wider than an int.
Signed-off-by: Daniela Engert <dani@ngrt.de>
|
2017-12-16 10:40:49 +01:00 |
|
Peter Dimov
|
e367d65b6e
|
Fix use of _alloca under g++/clang (mingw/cygwin)
|
2017-11-01 20:59:34 +02:00 |
|