Modify

Ticket #6702 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

boost::throw_exception not found in extended_p_square_quantile.hpp

Reported by: thawk Owned by: eric_niebler
Milestone: To Be Determined Component: accumulator
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

While compiling the follow code using g++ (GCC) 4.6.3, some error occurs. I think this is caused by leaking of some header.

Code:

#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/extended_p_square_quantile.hpp>
#include <boost/accumulators/statistics/stats.hpp>

typedef boost::accumulators::accumulator_set<
    boost::uint64_t,
    boost::accumulators::stats<
        boost::accumulators::tag::extended_p_square_quantile> > accumulator_t;
int main()
{
    return 0;
}

Error output:

In file included from test.cpp:2:0:
/home/tanht/program/boost_1_49_0/boost/accumulators/statistics/extended_p_square_quantile.hpp: In member function ‘boost::accumulators::impl::extended_p_square_quantile_impl<Sample, Impl1, Impl2>::result_type boost::accumulators::impl::extended_p_square_quantile_impl<Sample, Impl1, Impl2>::result(const Args&) const’:
/home/user/program/boost_1_49_0/boost/accumulators/statistics/extended_p_square_quantile.hpp:115:21: error: ‘throw_exception’ is not a member of ‘boost’
/home/user/program/boost_1_49_0/boost/accumulators/statistics/extended_p_square_quantile.hpp:115:44: error: ‘runtime_error’ is not a member of ‘std’

Attachments

Change History

comment:1 Changed 2 years ago by eric_niebler

  • Status changed from new to closed
  • Resolution set to fixed

(In [77413]) merge [77412] from trunk, fixes #6702

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.