179 Commits

Author SHA1 Message Date
René Ferdinand Rivera Morell
eb7ff254b8 Add support for modular build structure. (#64)
* Make the library modular usable.

* Fix to avoid using gcc/clang option in other compilers.

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Change global boost refs to local refs.

* Add requires-b2 check to top-level build file.

* Add missing test deps.

* Fix library name in lib declaration.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Adjust self dependencies as inter-lib deps no longer apply globally.

* Kludge node20 into containers.

* Checkout needs to happen after node20 is set up.

* Rewrite GHA CI to use alandefreitas/cpp-actions utilities.

* Fix GHA CI matrix evaluation value.

* Need to copy tested lib to boost-root.

* Tweak copy-library step to work on Windows bash.

* Move library name to matrix variable instead of env var.

* Add test dir to scan to fill missing deps.

* Clear out library dir to be able to copy in workspace tree.

* Avoid the boost tree cache for testing the scanning.

* Remove CI debug listing.

* Tweak factors to reduce over-builds.

* Try and coax more msvc testing.

* Move project global include to target local include.

* Only msvc gets minor version tests.

* Revert GHA CI changes.

* Less impactful update of CI.

* Bump gcc-11 container and be explicit about the exe to try and make it findable.

* Be explicit about compiler gcc commands.

* Undo compiler spec change.
boost-1.89.0 boost-1.90.0.beta1 boost-1.90.0
2025-06-26 17:24:28 +03:00
Peter Dimov
9d9e5dae22 Merge pull request #53 from Romain-Geissler-1A/fix-clang-Wdeprecated-copy
Fix couple of -Wdeprecated-copy when using clang with std=gnu++20 or gnu++2b
boost-1.87.0.beta1 boost-1.88.0.beta1 boost-1.88.0 boost-1.87.0 boost-1.86.0.beta1 boost-1.86.0 boost-1.85.0.beta1 boost-1.85.0 boost-1.84.0.beta1 boost-1.84.0
2023-08-25 11:46:51 +03:00
Peter Dimov
cca88c9179 Merge pull request #40 from Romain-Geissler-1A/unused-arguments
Fix some clang unused arguments warnings.
2023-08-25 11:45:57 +03:00
Romain Geissler
d10c901381 Fix couple of -Wdeprecated-copy when using clang with std=gnu++20 or gnu++2b.
======= ERROR 1 ========

In file included from /data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/accumulators.hpp:12:
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/framework/accumulator_set.hpp:64:53: error: definition of implicit copy constructor for 'accumulator_visitor<boost::par
ameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator, boost::parameter::aux::tagged_argument<boost::accumulators::tag::ac
cumulator, boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max,
boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>>>, boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample, boost::parameter::aux::tagged_a
rgument<boost::accumulators::tag::sample, const double>>>>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
        BOOST_DELETED_FUNCTION(accumulator_visitor &operator =(accumulator_visitor const &))
                                                    ^
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/framework/accumulator_set.hpp:303:46: note: in implicit copy constructor for 'boost::accumulators::detail::accumulator_
visitor<boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator, boost::parameter::aux::tagged_argument<boost::acc
umulators::tag::accumulator, boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumu
lators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>>>, boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample, boost::parame
ter::aux::tagged_argument<boost::accumulators::tag::sample, const double>>>>' first required here
        fusion::for_each(this->accumulators, func);
                                             ^
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/framework/accumulator_set.hpp:380:9: note: in instantiation of function template specialization 'boost::accumulators::a
ccumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>::visit<boost::accumulators::detail::accumulator_visitor<boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator, boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator, boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>>>, boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample, boost::parameter::aux::tagged_argument<boost::accumulators::tag::sample, const double>>>>>' requested here
      , BOOST_ACCUMULATORS_ACCUMULATOR_SET_FUN_OP
        ^
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/preprocessor/repetition/repeat_from_to.hpp:35:34: note: expanded from macro 'BOOST_PP_REPEAT_FROM_TO'
                                 ^
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
                               ^
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
                                 ^
<scratch space>:122:1: note: expanded from here
BOOST_PP_REPEAT_FROM_TO_1
^
src/Tests.cpp:349:38: note: in instantiation of function template specialization 'boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>::operator()<double>' requested here
                _deviationAccumulator(aDeviation);
                                     ^

======= ERROR 2 ========
In file included from /data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/accumulators.hpp:12:
In file included from /data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/framework/accumulator_set.hpp:35:
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/framework/accumulators/droppable_accumulator.hpp:52:53: error: definition of implicit copy constructor for 'add_ref_visitor<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator, boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>>>>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
            BOOST_DELETED_FUNCTION(add_ref_visitor &operator =(add_ref_visitor const &))
                                                    ^
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/framework/accumulator_set.hpp:314:41: note: in implicit copy constructor for 'boost::accumulators::detail::add_ref_visitor<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator, boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>>>>' first required here
        fusion::for_each(filtered_accs, func);
                                        ^
/data/mwrep/res/osp/Boost/23-0-0-0/include/boost/accumulators/framework/accumulator_set.hpp:175:24: note: in instantiation of function template specialization 'boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>::visit_if<boost::accumulators::detail::contains_feature_of_<boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>, boost::accumulators::detail::add_ref_visitor<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator, boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>>>>>' requested here
        this->template visit_if<detail::contains_feature_of_<Features> >(
                       ^
src/Tests.cpp:363:26: note: in instantiation of member function 'boost::accumulators::accumulator_set<double, boost::accumulators::features<boost::accumulators::tag::count, boost::accumulators::tag::min, boost::accumulators::tag::max, boost::accumulators::tag::mean, boost::accumulators::tag::moment<2>>>::accumulator_set' requested here
    DeviationAccumulator aDeviationAccumulator;
                         ^
2023-08-24 19:51:19 +00:00
Romain Geissler
cc01a26f72 Fix some clang unused arguments warnings. 2023-08-24 19:50:45 +00:00
Peter Dimov
5c47eca42e Update ci.yml 2023-08-24 11:14:35 +03:00
Peter Dimov
2cda14259c Remove C++03 from ci.yml 2023-08-24 11:12:36 +03:00
Peter Dimov
5425a29786 Merge pull request #28 from Romain-Geissler-1A/deprecated-copy-warning
Fix gcc 9 deprecated copy warning.
2023-08-24 10:17:22 +03:00
Romain Geissler
1d2c32445e Fix gcc 9 deprecated copy warning. 2023-08-23 20:49:02 +00:00
Peter Dimov
bf4b6a3b62 Merge pull request #54 from tchaikov/init-member-variable
always initialize member variable
boost-1.83.0 boost-1.83.0.beta1
2023-05-18 15:39:55 +03:00
Peter Dimov
f5e6146615 Update ci.yml 2023-05-18 13:53:23 +03:00
Kefu Chai
ecdc3d41be always initialize member variable
in this change, impl::extended_p_square_quantile_impl::probability is
zero-initialized to silence -Wuninitialized warning from GCC-13.

despite that this variable is always initialized in
impl::extended_p_square_quantile_impl::result(), it is still referenced
by, for instance the copy constructor, which could be called before
`result()` gets called. and GCC-13 rightly warn us like:

In copy constructor ‘constexpr boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>::extended_p_square_quantile_impl(const boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>&)’,
    inlined from ‘boost::accumulators::detail::accumulator_wrapper<Accumulator, Feature>::accumulator_wrapper(const boost::accumulators::detail::accumulator_wrapper<Accumulator, Feature>&) [with Accumulator = boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>; Feature = boost::accumulators::tag::extended_p_square_quantile_quadratic]’ at /usr/include/boost/accumulators/framework/depends_on.hpp:320:69,
    inlined from ‘constexpr boost::fusion::cons<Car, Cdr>::cons(typename boost::fusion::detail::call_param<Car>::type, typename boost::fusion::detail::call_param<Cdr>::type) [with Car = boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>, boost::accumulators::tag::extended_p_square_quantile_quadratic>; Cdr = boost::fusion::cons<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::sum_impl<double, boost::accumulators::tag::sample>, boost::accumulators::tag::sum>, boost::fusion::cons<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::mean_impl<double, boost::accumulators::tag::sum>, boost::accumulators::tag::mean>, boost::fusion::cons<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::max_impl<double>, boost::accumulators::tag::max>, boost::fusion::nil_> > >]’ at /usr/include/boost/fusion/container/list/cons.hpp:66:15,
    inlined from ‘static boost::accumulators::detail::build_acc_list<First, Last, false>::type boost::accumulators::detail::build_acc_list<First, Last, false>::call(const Args&, const First&, const Last&) [with Args = boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator, boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator, boost::accumulators::accumulator_set<double, boost::accumulators::stats<boost::accumulators::tag::extended_p_square_quantile(boost::accumulators::quadratic), boost::accumulators::tag::mean, boost::accumulators::tag::max, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, void> >, std::integral_constant<bool, true> >, boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::extended_p_square_probabilities_<0>, boost::parameter::aux::tagged_argument<boost::accumulators::tag::extended_p_square_probabilities_<0>, std::array<double, 4> >, std::integral_constant<bool, true> > >; First = boost::fusion::mpl_iterator<boost::mpl::v_iter<boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::max_impl<double>, boost::accumulators::tag::max>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::mean_impl<double, boost::accumulators::tag::sum>, boost::accumulators::tag::mean>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::sum_impl<double, boost::accumulators::tag::sample>, boost::accumulators::tag::sum>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>, boost::accumulators::tag::extended_p_square_quantile_quadratic>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_impl<double>, boost::accumulators::tag::extended_p_square>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::count_impl, boost::accumulators::tag::count>, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 2> >; Last = boost::fusion::mpl_iterator<boost::mpl::v_iter<boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::max_impl<double>, boost::accumulators::tag::max>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::mean_impl<double, boost::accumulators::tag::sum>, boost::accumulators::tag::mean>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::sum_impl<double, boost::accumulators::tag::sample>, boost::accumulators::tag::sum>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>, boost::accumulators::tag::extended_p_square_quantile_quadratic>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_impl<double>, boost::accumulators::tag::extended_p_square>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::count_impl, boost::accumulators::tag::count>, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 6> >]’ at /usr/include/boost/accumulators/framework/depends_on.hpp:252:86,
    inlined from ‘static boost::accumulators::detail::build_acc_list<First, Last, false>::type boost::accumulators::detail::build_acc_list<First, Last, false>::call(const Args&, const First&, const Last&) [with Args = boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator, boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator, boost::accumulators::accumulator_set<double, boost::accumulators::stats<boost::accumulators::tag::extended_p_square_quantile(boost::accumulators::quadratic), boost::accumulators::tag::mean, boost::accumulators::tag::max, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, void> >, std::integral_constant<bool, true> >, boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::extended_p_square_probabilities_<0>, boost::parameter::aux::tagged_argument<boost::accumulators::tag::extended_p_square_probabilities_<0>, std::array<double, 4> >, std::integral_constant<bool, true> > >; First = boost::fusion::mpl_iterator<boost::mpl::v_iter<boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::max_impl<double>, boost::accumulators::tag::max>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::mean_impl<double, boost::accumulators::tag::sum>, boost::accumulators::tag::mean>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::sum_impl<double, boost::accumulators::tag::sample>, boost::accumulators::tag::sum>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>, boost::accumulators::tag::extended_p_square_quantile_quadratic>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_impl<double>, boost::accumulators::tag::extended_p_square>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::count_impl, boost::accumulators::tag::count>, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 1> >; Last = boost::fusion::mpl_iterator<boost::mpl::v_iter<boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::max_impl<double>, boost::accumulators::tag::max>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::mean_impl<double, boost::accumulators::tag::sum>, boost::accumulators::tag::mean>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::sum_impl<double, boost::accumulators::tag::sample>, boost::accumulators::tag::sum>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>, boost::accumulators::tag::extended_p_square_quantile_quadratic>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_impl<double>, boost::accumulators::tag::extended_p_square>, boost::mpl::v_item<boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::count_impl, boost::accumulators::tag::count>, boost::mpl::vector0<mpl_::na>, 0>, 0>, 0>, 0>, 0>, 0>, 6> >]’ at /usr/include/boost/accumulators/framework/depends_on.hpp:252:86:
/usr/include/boost/accumulators/statistics/extended_p_square_quantile.hpp:57:12: error: ‘<unnamed>.boost::accumulators::detail::accumulator_wrapper<boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>, boost::accumulators::tag::extended_p_square_quantile_quadratic>::<unnamed>.boost::accumulators::impl::extended_p_square_quantile_impl<double, boost::accumulators::unweighted, boost::accumulators::quadratic>::probability’ is used uninitialized [-Werror=uninitialized]
   57 |     struct extended_p_square_quantile_impl
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2023-04-27 13:16:53 +08:00
Peter Dimov
4df0de9b47 Merge branch 'develop' of https://github.com/hdu-sdlzx/accumulators into feature/pr-51 boost-1.81.0.beta1 boost-1.80.0 boost-1.82.0 boost-1.82.0.beta1 boost-1.81.0 boost-1.80.0.beta1 2022-04-19 11:29:02 +03:00
Peter Dimov
8c24804bc9 Merge pull request #46 from eldiener/develop
[skip ci] Add "cxxstd" json field
2022-04-19 11:27:34 +03:00
Peter Dimov
3d4e8dbc63 Disable failing msvc-14.2 tests 2022-04-19 02:14:55 +03:00
Peter Dimov
6c71a4d856 Update test/Jamfile.v2 2022-04-19 01:43:03 +03:00
Peter Dimov
eb30695539 Update ci.yml 2022-04-18 22:04:51 +03:00
Peter Dimov
a86ad3ff69 Add .github/workflows 2022-04-18 22:03:35 +03:00
Liu Zixian
29abc8578b Replace deprecated headers
Signed-off-by: Liu Zixian <liuzixian4@huawei.com>
2022-03-29 01:02:14 +08:00
Liu Zixian
141f7ab88c fix compiler warnings in max.cpp
gcc.compile.c++ ../../../bin.v2/test/max.test/gcc-11/debug/link-static/threading-multi/visibility-hidden/max.o
In file included from ../../../boost/test/test_tools.hpp:46,
                 from ../../../boost/test/unit_test.hpp:18,
                 from max.cpp:6:
../../../boost/test/tools/old/impl.hpp: In instantiation of ‘boost::test_tools::assertion_result boost::test_tools::tt_detail::equal_impl(const Left&, const Right&) [with Left = unsigned int; Right = int]’:
../../../boost/test/tools/old/impl.hpp:130:26:   required from ‘boost::test_tools::assertion_result boost::test_tools::tt_detail::equal_impl_frwd::call_impl(const Left&, const Right&, mpl_::false_) const [with Left = unsigned int; Right = int; mpl_::false_ = mpl_::bool_<false>]’
../../../boost/test/tools/old/impl.hpp:145:25:   required from ‘boost::test_tools::assertion_result boost::test_tools::tt_detail::equal_impl_frwd::operator()(const Left&, const Right&) const [with Left = unsigned int; Right = int]’
../../../boost/test/tools/old/impl.hpp:92:1:   required from ‘bool boost::test_tools::tt_detail::check_frwd(Pred, const boost::unit_test::lazy_ostream&, boost::unit_test::const_string, std::size_t, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, const Arg0&, const char*, const Arg1&, const char*) [with Pred = boost::test_tools::tt_detail::equal_impl_frwd; Arg0 = unsigned int; Arg1 = int; boost::unit_test::const_string = boost::unit_test::basic_cstring<const char>; std::size_t = long unsigned int]’
max.cpp:53:5:   required from here
../../../boost/test/tools/old/impl.hpp:107:17: Warn: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
  107 |     return left == right;
      |            ~~~~~^~~~~~~~

Signed-off-by: Liu Zixian <liuzixian4@huawei.com>
2022-03-29 01:01:50 +08:00
Peter Dimov
14c1337060 Add CMakeLists.txt boost-1.77.0.beta1 boost-1.77.0 boost-1.79.0 boost-1.78.0.beta1 boost-1.78.0 boost-1.79.0.beta1 2021-05-28 04:21:21 +03:00
Peter Dimov
3febaae99b Merge branch 'master' into develop 2021-05-28 04:20:47 +03:00
Edward Diener
53931934c5 [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-18 20:24:50 -05:00
Edward Diener
3b627a897c Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74 (#41)
* Use __BORLANDC__ and !__clang__ for legacy compiler

* Updated jamfile command line flag.
2020-05-10 12:38:19 -07:00
Eric Niebler
b12a189fef Merge pull request #30 from boostorg/develop
Merge 'develop' to 'master'
boost-1.75.0.beta1 boost-1.76.0.beta1 boost-1.76.0 boost-1.71.0 boost-1.75.0 boost-1.74.0.beta1 boost-1.74.0 boost-1.73.0.beta1 boost-1.73.0 boost-1.72.0.beta1 boost-1.72.0
2019-08-04 10:24:41 -05:00
Yuval Lifshitz
ff9432f97b Allow accumulator persistency (#18)
* Add, and update, documentation build targets.

* adding serialization to stats

* serialize rolling stats
2019-05-10 15:39:28 -07:00
Eric Niebler
1b1995f9a4 Merge pull request #23 from CromwellEnage/fixed
Enable automated testing, fix compiler errors, suppress runtime failures
2019-01-17 12:02:20 -08:00
CromwellEnage
8f9adbcd7d Update .travis.yml
Remove "sudo: false" statement due to being deprecated by Travis CI.
2018-12-26 09:52:39 -05:00
CromwellEnage
ed71099b2e Update test suite
Install libstdc++ 4.9 for clang-3.8 and clang-3.9 to avoid ::gets error.
2018-12-26 09:49:57 -05:00
CromwellEnage
ce050eb1c5 Fix typo 2018-12-24 19:24:11 -05:00
CromwellEnage
d292970edf Disable tests that are failing at runtime for clang-3.8 and clang-3.9 2018-12-24 16:39:44 -05:00
CromwellEnage
d1c03b0bd3 Increase the iteration count as suggested by Yuval Lipshitz 2018-12-24 08:03:48 -05:00
CromwellEnage
109e65c899 Enable automated testing, fix compiler errors, suppress runtime failures
<boost/accumulators/accumulators_fwd.hpp>
* Replace definition of BOOST_PARAMETER_NESTED_KEYWORD with #include statement.

<boost/accumulators/framework/depends_on.hpp>
* Add const-correct make_acc_list() function overloads.

<boost/accumulators/accumulators_fwd.hpp>
<boost/accumulators/framework/extractor.hpp>
<boost/accumulators/framework/accumulator_set.hpp>
* Add overloads that distinguish between optional 1st named parameter and unnamed sample parameter.
* Use argument composition vice boost::parameter::parameters<>.

<boost/accumulators/framework/extractor.hpp>
* Transform AccumulatorSet parameter type with remove_const and remove_reference as needed.

<boost/accumulators/framework/accumulator_set.hpp>
* Replace use of is_base_and_derived with use of is_base_of, remove_const, and remove_reference.

<boost/accumulators/framework/parameters/accumulator.hpp>
<boost/accumulators/framework/parameters/sample.hpp>
<boost/accumulators/framework/parameters/weight.hpp>
<boost/accumulators/framework/parameters/weights.hpp>
* Replace use of deprecated BOOST_PARAMETER_KEYWORD with use of BOOST_PARAMETER_NAME.

<boost/accumulators/framework/accumulators/value_accumulator.hpp>
<boost/accumulators/framework/accumulators/reference_accumulator.hpp>
<boost/accumulators/framework/accumulators/external_accumulator.hpp>
<boost/accumulators/framework/accumulators/droppable_accumulator.hpp>
* Replace use of deprecated boost::parameter::keyword<>::get() with use of boost::parameter::keyword<>::instance.

"test/weighted_median.cpp"
* Disable statements that are causing runtime failures.

"test/Jamfile.cpp"
* Disable tests that are failing at runtime.
2018-12-23 14:21:32 -05:00
Eric Niebler
fdabe512f4 Merge pull request #14 from oliness/patch-11437
Fix #11437: correct immediate_rolling_mean
2018-11-06 16:33:44 -08:00
Oliver Ford
5ff527ec3b Fix #11437: correct immediate_rolling_mean
Corrects the immediate_rolling_mean calculation for unsigned
int, so that when a value lower than the previous value is added,
underflow does not occur.

Includes new regression test for this behavior.
2018-02-06 10:30:26 +00:00
Eric Niebler
b133840d2b Merge pull request #5 from sergiud/msvc-type-conversion-warnings
Reduce the number of MSVC level 4 warnings
2017-12-04 10:58:46 -08:00
Eric Niebler
bfcbfe3c58 Merge remote-tracking branch 'origin/develop' boost-1.65.1 boost-1.69.0-beta1 boost-1.71.0.beta1 boost-1.70.0.beta1 boost-1.70.0 boost-1.69.0 boost-1.68.0 boost-1.65.0 boost-1.67.0 boost-1.66.0 2017-07-25 11:05:06 -07:00
Eric Niebler
5c1ed6a5df Merge pull request #7 from DanielaE/feature/remove-deprecated
replace deprecated binders and adapters by more modern equivalents
2017-05-05 10:48:48 -06:00
Daniela Engert
5876569cc7 Conditionally replace deprecated/removed C++98 binders by C++11 std::bind, and replace deprecated/removed C++98 function adapters by inline type definitions.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-05-04 16:46:19 +02:00
Rene Rivera
d022c85123 Add, and update, documentation build targets. boost-1.64.0 boost-1.64.0-beta2 boost-1.64.0-beta1 boost-1.63.0 2016-10-10 11:24:26 -05:00
Rene Rivera
70ec4c602b Add, and update, documentation build targets. 2016-10-07 23:03:40 -05:00
Sergiu Deitsch
080bb87234 fixed msvc level 4 floating type conversion warnings 2016-10-03 20:41:38 +02:00
Eric Niebler
4108fd8f56 Merge pull request #4 from praetorian20/patch-1
Fix example in doc
2016-06-09 15:13:40 -07:00
Ashish Sadanandan
06f8bede7f Update accumulators.qbk
Make the example compilable 

See https://stackoverflow.com/q/37731872. It's either this or add a `using namespace boost;`
2016-06-09 14:23:24 -06:00
Eric Niebler
e0202cdcce Merge pull request #3 from jaredgrubb/jgrubb-nil
Fix Ticket #11123: Accumulators: adjust type fusion::nil to fusion::nil_
boost-1.59.0 boost-1.60.0 boost-1.62.0 boost-1.61.0 boost-1.58.0
2015-03-23 10:17:14 -07:00
Jared Grubb
9ac37736fa Fix Ticket #11123: Accumulators: adjust type fusion::nil to fusion::nil_ 2015-03-21 15:57:32 -07:00
Eric Niebler
2bf02f371d Merge pull request #2 from danieljames/metadata
Create metadata file.
2014-08-18 08:49:45 -07:00
Daniel James
1d00fef2e9 Add metadata file. 2014-08-18 14:57:08 +01:00
Eric Niebler
42dc221091 back out no-longer-needed hack for times2_iterator, now that Boost.Range is fixed 2014-07-06 21:09:02 -07:00
Eric Niebler
69dcfd153f Add missing #include <boost/preprocessor/cat.hpp> boost-1.57.0 boost-1.56.0 2014-06-15 22:35:21 -07:00