Commit Graph
522 Commits
Author SHA1 Message Date
Peter Dimov fbc49bbaa0 Add more tests to std_interop_test3 2021-06-13 19:51:02 +03:00
Peter Dimov 344eb1e1f8 Rework error_code for better std interop 2021-06-13 19:47:37 +03:00
Peter Dimov 20b8e90dff Add detail/snprintf.hpp 2021-06-13 18:58:50 +03:00
Peter Dimov a0136e570d Update tests/CMakeLists 2021-06-13 18:45:15 +03:00
Peter Dimov 6586fcb01e Add errc_test3.cpp 2021-06-13 18:42:59 +03:00
Peter Dimov b74b1e3c8c Merge branch 'develop' into feature/error-condition 2021-06-13 07:12:16 +03:00
Peter Dimov 1caaacff57 Split reference into headers 2021-06-13 06:58:48 +03:00
Peter Dimov 75d5287558 Update copyright 2021-06-13 05:59:04 +03:00
Peter Dimov 25eaf0fdae Document comparisons as inline friends; use value() and category() instead of val_ and cat_; add subheadings 2021-06-13 05:58:16 +03:00
Peter Dimov f43293f451 Increase ToC levels 2021-06-13 05:24:30 +03:00
Peter Dimov f8ab3df822 Initialize failed_ in the other two constructors 2021-06-13 05:05:31 +03:00
Peter Dimov f6fb85d7d3 Revert "Update Travis to use undefined-sanitizer; disable failed_constexpr_test"
This reverts commit c069ae048f.
2021-06-13 04:59:49 +03:00
Peter Dimov 9cd9d8732f Revert "Update test/Jamfile"
This reverts commit 3d4c31c213.
2021-06-13 04:59:38 +03:00
Peter Dimov 1b7fd6854d Revert "Disable failing tests on g++-7/c++17"
This reverts commit b20191f8d7.
2021-06-13 04:58:53 +03:00
Peter Dimov 610d5f3f78 Revert "Mark error_condition::failed, error_condition::message as deprecated; revert op bool"
This reverts commit 329e72fb92.
2021-06-13 04:56:18 +03:00
Peter Dimov 88f7c2bf53 Revert "Update documentation"
This reverts commit 8962c9101a.
2021-06-13 04:47:19 +03:00
Peter Dimov 723daf5d57 Update changelog 2021-06-13 04:39:39 +03:00
Peter Dimov 3d4c31c213 Update test/Jamfile 2021-06-13 01:13:48 +03:00
Peter Dimov c069ae048f Update Travis to use undefined-sanitizer; disable failed_constexpr_test 2021-06-13 01:08:54 +03:00
Peter Dimov 28e1b919ac Disable failing test 2021-06-12 22:36:12 +03:00
Peter Dimov b20191f8d7 Disable failing tests on g++-7/c++17 2021-06-12 22:20:38 +03:00
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