using intervals.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

using intervals.

Joaquim Duran
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
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [hidden email]

interval.patch (700 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: using intervals.

Joaquim Duran
I've committed the fix.


2014-11-02 1:10 GMT+01:00 Joaquim Duran <[hidden email]>:

> 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
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: using intervals.

David Bellot
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 <[hidden email]> wrote:
I've committed the fix.


2014-11-02 1:10 GMT+01:00 Joaquim Duran <[hidden email]>:
> 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
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [hidden email]


_______________________________________________
ublas mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: using intervals.

Joaquim Duran
Done.

2014-11-03 9:39 GMT+01:00 David Bellot <[hidden email]>:

> 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 <[hidden email]> wrote:
>>
>> I've committed the fix.
>>
>>
>> 2014-11-02 1:10 GMT+01:00 Joaquim Duran <[hidden email]>:
>> > 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
>> [hidden email]
>> http://lists.boost.org/mailman/listinfo.cgi/ublas
>> Sent to: [hidden email]
>
>
>
> _______________________________________________
> ublas mailing list
> [hidden email]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: [hidden email]
_______________________________________________
ublas mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: using intervals.

David Bellot
Thanks
It's merged

On Mon, Nov 3, 2014 at 8:59 AM, Joaquim Duran <[hidden email]> wrote:
Done.

2014-11-03 9:39 GMT+01:00 David Bellot <[hidden email]>:
> 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 <[hidden email]> wrote:
>>
>> I've committed the fix.
>>
>>
>> 2014-11-02 1:10 GMT+01:00 Joaquim Duran <[hidden email]>:
>> > 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
>> [hidden email]
>> http://lists.boost.org/mailman/listinfo.cgi/ublas
>> Sent to: [hidden email]
>
>
>
> _______________________________________________
> ublas mailing list
> [hidden email]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: [hidden email]
_______________________________________________
ublas mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [hidden email]


_______________________________________________
ublas mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: [hidden email]