Boost logo

Boost :

From: Luigi Ballabio (luigi.ballabio_at_[hidden])
Date: 2019-08-05 08:02:44


The PR was merged to master this weekend (I guess this means it goes into
1.71?). I had tested it previously, and it fixes the issue.

Luigi

On Sun, Aug 4, 2019 at 6:46 PM Cg K <kaucher_at_[hidden]> wrote:

> These errors seemed to be the result of two or three 'things'
> with the remaining seem to be cascading issues from there.
>
> The first and easiest and technically not an error is a reference to a deprecated file:
> 10>C:\Users\kauch\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\timer.hpp(21): message : This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.
>
> The other two issues involve two files
> boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1)
> boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(43)
>
> The error messages are below and as it is posited that PR1 which might help/solve the problem.
>
> I would be happy to test BUT I am:
> new to Boost,
> new to Quantlib,
> never used github, and
> just getting back into programming after 9 years off.
>
> This is a learning exercise and given your release date, not sure I can climb that mountain fast enough. Need steps and where is the PR
>
> //////////////////////////////////////////
>
> 1>------ Rebuild All started: Project: QuantLib, Configuration: Release x64 ------
> …………………………………………...
> 1>------ Rebuild All started: Project: QuantLib, Configuration: Release x64 ------
> …………………………………………...
>
> 1>normaldistribution.cpp
> 1>studenttdistribution.cpp
> 1>discreteintegrals.cpp
> 1>filonintegral.cpp
>
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: 'boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>>::tagged_argument_list_of_1(const boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>> &)': cannot convert argument 1 from 'const A1' to 'const double &'
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: with
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: [
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: Keyword=boost::accumulators::tag::sample
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: ]
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: and
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: [
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,1): error C2664: ] (compiling source file ql\math\statistics\incrementalstatistics.cpp)
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : Reason: cannot convert from 'const A1' to 'Arg'
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : with
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : [
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : ]
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : and
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : [
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : Arg=const double
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(313,1): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp)
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(312,20): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called (compiling source file ql\math\statistics\incrementalstatistics.cpp)
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : see reference to function template instantiation
> ……
>
> ……...
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : with
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : [
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : Keyword=boost::accumulators::tag::sample,
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>,
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : A0=QuantLib::Real
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1082): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp)
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : see reference to function template instantiation 'boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,const double>>,boost::parameter::aux::arg_list<boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::accumulator,boost::accumulators::accumulator_set
> …………..
> ………...
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : with
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : [
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : Keyword=boost::accumulators::tag::sample,
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>,
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : A0=QuantLib::Real
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\aux_\arg_list.hpp(1081): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp)
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : see reference to function template instantiation 'boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample,TaggedArg,EmitsErrors>,boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator,boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,boost::accumulators::accumulator_set
> ..……..
> ………...
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : with
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : [
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : TaggedArg=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::sample,const double>>,
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : EmitsErrors=boost::mp11::mp_true,
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : Keyword=boost::accumulators::tag::accumulator,
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : A1=boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<boost::accumulators::tag::weight,double>>,
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : A0=QuantLib::Real
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(62): message : ] (compiling source file ql\math\statistics\incrementalstatistics.cpp)
> 1>C:\Users\xxxxx\Desktop\lib\boost_1_71_0_b1_rc1\boost_1_71_0\boost\parameter\parameters.hpp(43): message : see reference to function template instantiation 'boost::parameter::aux::flat_like_arg_list<boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::sample,TaggedArg,EmitsErrors>,boost::parameter::aux::flat_like_arg_tuple<boost::accumulators::tag::accumulator,boost::parameter::aux::tagged_argument_list_of_1<boost::parameter::aux::tagged_argument<Keyword,boost::accumulators::accumulator_set
>
>
> On Sat, Aug 3, 2019 at 3:39 PM Andrey Semashev via Boost <
> boost_at_[hidden]> wrote:
>
>> On 8/3/19 10:06 PM, Cg K via Boost wrote:
>> > Gentlemen,
>> > Please read this message from Quantlib Dev board
>> > <https://sourceforge.net/p/quantlib/mailman/message/36730686/>
>> >
>> > In short, I was not able to compile Quantlib 1.15 with Boost
>> > 1_71_0_b1_rc1
>> >
>> > I was able to compile it with 1.70 with some creativity. See here.
>> > <https://sourceforge.net/p/quantlib/mailman/message/36732240/>
>> >
>> > I have a complete list of the errors and messages. It is some 36 pages
>> long
>> > and thought it best not to attach. If anyone wants it I will gladly
>> send it
>> > to them privately.
>>
>> From the partial error message in that SF thread it looks like the
>> problem is related to Boost.Parameter and Boost.Accumulators. There's
>> this PR[1], which seems to be not merged yet, which might help. It would
>> be great if you could test if it indeed does help.
>>
>> If you have other errors, it would help if you could distill those and
>> post here or on GitHub issues. Otherwise I doubt anyone will be able to
>> do anything about it before the release.
>>
>> [1]: https://github.com/boostorg/accumulators/pull/30
>>
>> _______________________________________________
>> Unsubscribe & other changes:
>> http://lists.boost.org/mailman/listinfo.cgi/boost
>>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk