Commit Graph

501 Commits

Author SHA1 Message Date
Peter Dimov d019c1cdae Remove detail/is_generic_value.hpp 2021-06-12 22:01:16 +03:00
Peter Dimov ff77d4c094 Do not call generic_category() in system_error_category 2021-06-12 21:59:22 +03:00
Peter Dimov a21a3050a5 Use nullptr for &generic_category() in error_condition 2021-06-12 21:51:51 +03:00
Peter Dimov 08d62ac444 Restore Sun workaround 2021-06-12 05:42:03 +03:00
Peter Dimov 45e9dfeba9 Declare operator std::error_category as BOOST_SYMBOL_VISIBLE 2021-06-12 05:12:58 +03:00
Peter Dimov 7d9eb384c6 Make error_category comparisons inline friends, to avoid clang 'member call on mutable' constexpr errors 2021-06-12 04:52:21 +03:00
Peter Dimov 04bfb05b19 Improve the implementation of the std::category conversion 2021-06-12 04:29:13 +03:00
Peter Dimov a650f5d676 Remove cmake_install_test dependency on Boost::core before-1.77-error-code-merge 2021-06-12 00:18:26 +03:00
Peter Dimov 6ab5fd9dac Update ci.yml 2021-06-11 22:15:46 +03:00
Peter Dimov ed14d74323 Update .travis.yml 2021-06-11 22:12:35 +03:00
Peter Dimov ff9bca96e3 Add boost/system.hpp 2021-06-11 21:15:17 +03:00
Peter Dimov 8560290b71 Merge pull request #67 from Lastique/feature/add_win32_error_not_supported
Add support for Windows error code ERROR_NOT_SUPPORTED
2021-05-29 03:36:51 +03:00
Peter Dimov 8b41ff22a6 Update ci.yml 2021-05-29 02:41:45 +03:00
Peter Dimov 79f9a297cd Update ci.yml 2021-05-29 01:15:51 +03:00
Andrey Semashev 344ea58a77 Added support for Windows error code ERROR_NOT_SUPPORTED.
The error code description reads as "The request is not supported," which
is close to POSIX ENOTSUP "Not supported" and matches MSVC standard library
implementation.
2021-05-29 00:55:40 +03:00
Peter Dimov 5eae4824ab Update .github/workflows 2021-04-19 21:29:14 +03:00
Peter Dimov f502e6cda4 Update .github/workflows 2021-04-19 20:30:50 +03:00
Peter Dimov 69bc20fb15 Merge pull request #66 from vahtis/vahtis-patch-1
Define BOOST_SYSTEM_DEPRECATED for Oracle Developer Studio
2021-03-22 17:23:49 +02:00
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 689e09e86f Merge pull request #65 from eldiener/develop
[skip ci] Add "cxxstd" json field
boost-1.76.0.beta1 boost-1.76.0
2021-01-21 18:58:57 +02:00
Edward Diener b92035d4d2 [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 11:11:01 -05:00
Peter Dimov 63a32cea9a Remove deprecation message from windows_error.hpp (closes #57) 2021-01-02 22:16:39 +02:00
Peter Dimov 3e2cb8975f Update .travis.yml 2021-01-02 16:19:54 +02:00
Peter Dimov 4e7c88779b Merge branch 'patch-1' of https://github.com/tanzislam/system into feature/pr-56 2020-12-24 02:11:38 +02:00
Peter Dimov 3ee8200e75 Add .github/workflows 2020-12-24 02:10:50 +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 39bd8ba98f Use address-model=32 for msvc-9.0, 10.0, 11.0 boost-1.75.0.beta1 boost-1.75.0 2020-10-06 13:29:14 +03:00
Peter Dimov f1c0a52426 Fix typo 2020-10-06 04:44:07 +03:00
Peter Dimov 8962c9101a Update documentation 2020-10-06 04:26:02 +03: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 7d6da0ad91 Add tests for failed() 2020-08-27 17:49:20 +03:00
Peter Dimov 999cf08bf5 Add system_category_test3 2020-08-27 17:47:06 +03:00
Peter Dimov 96418c1531 Add generic_category_test3 2020-08-27 17:41:33 +03:00
Peter Dimov 717867cf4e Remove unnecessary includes 2020-08-27 17:40:27 +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