Re: using intervals.

Joaquim Duran <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <CANdawSFTQrV8pCkBCcCuHanprYfUX=+ooOhad2g52WiwgaZT_w@mail.gmail.com>
Done.

2014-11-03 9:39 GMT+01:00 David Bellot <[email protected]>:
> Hi Joaquim,
>
> I can't find your pull request on git hub regarding the "interval" change.
> Cheers,
> David
>
> On Sun, Nov 2, 2014 at 2:50 PM, Joaquim Duran <[email protected]> wrote:
>>
>> I've committed the fix.
>>
>>
>> 2014-11-02 1:10 GMT+01:00 Joaquim Duran <[email protected]>:
>> > Hello,
>> >
>> > Today I've compiled the bench5 using bjam which has been finished with
>> > an error. This was caused because BOOST_UBLAS_USE_INTERVAL was defined
>> > in bench5 bjam file (I didn't defined it in qmake build system). I've
>> > fixed the compilation error by applying the attached patch.
>> >
>> > Could BOOST_UBLAS_USE_INTERVAL be defined?
>> >
>> > The message of the error was:
>> >
>> > [qduran@localhost bench5]$
>> > /home/qduran/devel/modular-boost-warning-test/b2
>> > Performing configuration checks
>> >
>> >     - symlinks supported       : yes (cached)
>> > ...patience...
>> > ...found 1772 targets...
>> > ...updating 2 targets...
>> > gcc.compile.c++
>> >
>> > ../../../../../bin.v2/libs/numeric/ublas/benchmarks/bench5/gcc-4.8.3/debug/assignment_bench.o
>> > In file included from
>> > ../../../../../boost/numeric/ublas/expression_types.hpp:15:0,
>> >                  from
>> > ../../../../../boost/numeric/ublas/vector_expression.hpp:16,
>> >                  from
>> > ../../../../../boost/numeric/ublas/assignment.hpp:11,
>> >                  from assignment_bench.cpp:9:
>> > ../../../../../boost/numeric/ublas/traits.hpp:383:24: error:
>> > ‘interval’ is not a member of ‘boost::numeric’
>> >      struct type_traits<boost::numeric::interval<float> > :
>> > scalar_traits<boost::numeric::interval<float> > {
>> >                         ^
>> > ../../../../../boost/numeric/ublas/traits.hpp:383:24: error:
>> > ‘interval’ is not a member of ‘boost::numeric’
>> > ../../../../../boost/numeric/ublas/traits.hpp:383:54: error: template
>> > argument 1 is invalid
>> >      struct type_traits<boost::numeric::interval<float> > :
>> > scalar_traits<boost::numeric::interval<float> > {
>> >                                                       ^
>> > ../../../../../boost/numeric/ublas/traits.hpp:383:56: error: expected
>> > unqualified-id before ‘>’ token
>> >      struct type_traits<boost::numeric::interval<float> > :
>> > scalar_traits<boost::numeric::interval<float> > {
>> >                                                         ^
>> > ../../../../../boost/numeric/ublas/traits.hpp:393:24: error:
>> > ‘interval’ is not a member of ‘boost::numeric’
>> >      struct type_traits<boost::numeric::interval<double> > :
>> > scalar_traits<boost::numeric::interval<double> > {
>> >                         ^
>> > [...]
>> >
>> > Joaquim Duran
>> _______________________________________________
>> ublas mailing list
>> [email protected]
>> http://lists.boost.org/mailman/listinfo.cgi/ublas
>> Sent to: [email protected]
>
>
>
> _______________________________________________
> ublas mailing list
> [email protected]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: [email protected]
_______________________________________________
ublas mailing list
[email protected]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.