vahtis
fbf7f4a417
Define BOOST_SYSTEM_DEPRECATED for Oracle Developer Studio
...
Added Oracle Developer Studio specific define.
2021-03-22 15:38:27 +02:00
Peter Dimov
63a32cea9a
Remove deprecation message from windows_error.hpp ( closes #57 )
2021-01-02 22:16:39 +02:00
Tanzinul Islam
516484a821
Define BOOST_SYSTEM_DEPRECATED for other compilers
...
Currently compilation fails with Oracle Developer Studio 12.6, for example:
$ ./b2 toolset=sun threading=multi variant=debug link=static cxxflags=-std=c++11 --with-system
...
"./boost/system/detail/error_condition.hpp", line 96: Error: BOOST_SYSTEM_DEPRECATED is not defined.
"./boost/system/detail/error_condition.hpp", line 96: Error: No direct declarator preceding ""this function is slated for removal"".
"./boost/system/detail/error_condition.hpp", line 96: Error: No direct declarator preceding "(".
2020-12-23 23:57:18 +00:00
Peter Dimov
329e72fb92
Mark error_condition::failed, error_condition::message as deprecated; revert op bool
2020-10-06 04:03:13 +03:00
Peter Dimov
6758690d2f
Add BOOST_SYSTEM_DEPRECATED; mark deprecated categories
2020-10-06 03:42:00 +03:00
Peter Dimov
8f32183b63
Mark platform-specific error headers as deprecated; split tests
2020-10-06 03:21:38 +03:00
Peter Dimov
99db03ee96
Remove tab
2020-09-04 17:02:14 +03:00
Peter Dimov
2e1ae5bc7a
Remove unnecessary includes
2020-08-28 15:20:13 +03:00
Peter Dimov
7236be0c58
Add errc_test2
2020-08-28 02:00:20 +03:00
Peter Dimov
776834b723
Rename std_interoperability.hpp to to_std_category.hpp, make it self-contained
2020-08-28 01:03:15 +03:00
Peter Dimov
7e2a02b16d
Rename system_category_posix.hpp to is_generic_value.hpp
2020-08-27 17:31:52 +03:00
Peter Dimov
b7e3be2798
Add system_category.hpp
2020-08-27 17:22:24 +03:00
Peter Dimov
e919caa2b4
Add generic_category.hpp
2020-08-27 16:35:32 +03:00
Peter Dimov
b951517625
Move system_category implementation to system_category_impl.hpp
2020-08-27 16:25:34 +03:00
Peter Dimov
ff18f28684
Move make_ functions for errc to errc.hpp
2020-08-27 16:15:10 +03:00
Peter Dimov
96321beb88
Add error_condition.hpp
2020-08-27 15:45:07 +03:00
Peter Dimov
313982fa52
Move interoperability support to error_category_impl.hpp
2020-08-27 15:14:17 +03:00
Peter Dimov
cc2b081a9e
Add boost/system/error_category.hpp
2020-08-27 03:38:30 +03:00
Peter Dimov
a93572ab16
Extract error_category implementation into its own header
2020-08-27 03:23:00 +03:00
Peter Dimov
cc49bc4457
Extract throws
into its own header
2020-08-27 03:06:14 +03:00
Peter Dimov
6bc7edbfa8
Rename generic_category_impl.hpp to generic_category_message.hpp
2020-08-27 02:59:30 +03:00
Peter Dimov
c345b86b0a
Restore generic_category_impl.hpp; functions are needed by system_category
2020-08-27 02:56:18 +03:00
Peter Dimov
13bac420ab
Move op!= for error_condition
2020-08-27 02:26:32 +03:00
Peter Dimov
abc94afdb2
Extract error_code into its own header
2020-08-27 02:23:50 +03:00
Peter Dimov
867ac5b446
Move generic_category(), system_category() to their respective headers; extract error_condition into its own header
2020-08-27 02:07:22 +03:00
Peter Dimov
d50db54c44
Move failed_impl into error_category.hpp
2020-08-27 01:36:44 +03:00
Peter Dimov
72ea1ef846
Extract enable_if into its own header
2020-08-27 01:21:56 +03:00
Peter Dimov
d581eb203e
Extract system_error_category into its own header
2020-08-27 01:15:28 +03:00
Peter Dimov
3047581c75
Remove generic_category_impl.hpp
2020-08-27 01:06:54 +03:00
Peter Dimov
ddd679e6d7
Extract generic_error_category into its own header
2020-08-27 01:06:07 +03:00
Peter Dimov
4ec6c99148
Rename detail/generic_category.hpp
2020-08-27 00:51:03 +03:00
Peter Dimov
7b56fd9acf
Extract error_category into its own header
2020-08-27 00:47:48 +03:00
Peter Dimov
b6a447cdde
Extract errc into its own header
2020-08-27 00:31:45 +03:00
Peter Dimov
83019b5822
Extract is_error_code_enum, is_error_condition_enum into their own headers
2020-08-26 22:46:27 +03:00
Peter Dimov
f00c76a3fc
Include and test system_error.hpp in warnings_test
2020-06-17 01:13:16 +03:00
Peter Dimov
73bf30ae04
Enable -Wsuggest-override in warnings_test; add BOOST_OVERRIDE appropriately
2020-06-17 01:06:40 +03:00
Peter Dimov
5d3365717e
Revert "Revert operator bool() to its pre-failed value() != 0 meaning"
...
This reverts commit 3164b387a5
.
2020-06-16 20:24:23 +03:00
Peter Dimov
6942dc454b
Fix unsupported use of BOOST_SYMBOL_VISIBLE on Sun C++
2020-01-24 20:59:12 +02:00
Peter Dimov
7ba160e443
Rename id
to id_
to avoid ObjC++ parsing issues. Fixes #52 .
2020-01-18 22:15:44 +02:00
Thomas Barbier
08370c9158
Fix c++17 warning redundant redeclaration of 'constexpr' static data
...
member [-Werror=deprecated]
2019-10-01 18:49:31 +02:00
Peter Dimov
c08b8a94ea
Fix sign extension (warning 4826.) Closes #48 .
2019-05-24 18:55:27 +03:00
Peter Dimov
dc2ad73e30
Merge pull request #47 from KABoissonneault/feature/issue_46
...
Added boost::winapi::ERROR_CONNECTION_ABORTED_ to handled error codes…
2019-05-13 18:14:54 -07:00
Kévin Alexandre Boissonneault
32a6c13533
Added boost::winapi::ERROR_CONNECTION_ABORTED_ to handled error codes in Win32's system_category, making it equivalent to errc::connection_aborted
2019-05-13 18:08:24 -04:00
Peter Dimov
bfbc5ec42f
Remove BOOST_SYSTEM_REQUIRE_CONST_INIT; variables are constexpr, so no longer needed. Closes #45 .
2019-05-12 04:15:35 +03:00
Peter Dimov
9deadda4b4
Merge branch 'feature/system-generic-visible' into feature/std-ec-mismatch
2019-04-25 20:54:01 +03:00
Peter Dimov
3b6315e4a1
Add BOOST_SYMBOL_VISIBLE to system_category(), generic_category()
2019-04-25 16:55:13 +03:00
Peter Dimov
1d845408dd
Fix thread safety issue in std interop
2019-04-25 01:01:48 +03:00
Peter Dimov
e08e4253d0
Avoid allocation on interop for system/generic categories; fix DLL interoperability on msvc-14.x by poking into std::system_category::_Addr
2019-04-25 00:31:25 +03:00
Peter Dimov
afc51937be
Mark to_std_category as BOOST_SYMBOL_VISIBLE
2019-04-24 23:18:19 +03:00
Peter Dimov
9b8cb7f1f6
Fix wrong null character stripping for FormatMessage (Nikita Kniazev)
2019-03-24 01:59:23 +02:00