Test test_fixed_container

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

Test test_fixed_container

Joaquim Duran
I would like to run the test test_fixed_container with
BOOST_UBLAS_CPP_GE_2011 defined. I've modified the file JamFile.v2 but
it is not working fine.

[ run test_fixed_continers.cpp
    :
    :
    :
    <include> BOOST_UBLAS_CPP_GE_2011
]

How can I define BOOST_UBLAS_CPP_GE_2011?

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: Test test_fixed_container

Thomas Klimpel-2
Joaquim Duran wrote:
> :
> <include> BOOST_UBLAS_CPP_GE_2011
> ]
>
> How can I define BOOST_UBLAS_CPP_GE_2011?

I'm a bit out of touch now (I used to understand Boost.Build), but for me "<define>" instead of "<include>" once worked:

 <define>BOOST_UBLAS_CPP_GE_2011

Regards,
Thomas
_______________________________________________
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: Test test_fixed_container

Nasos Iliopoulos
In reply to this post by Joaquim Duran
Joaquim
You shouldn't need to define this directive. C++11 presence should be
automatically detected, just make sure that you compile with -std=c++11  
for intel and gcc  (for b2 I think you should add in the command line
cxxflags=-std=c++11). For MSVC you don't  need the build flag.

See relevant sections of config.hpp:
https://github.com/boostorg/ublas/blob/master/include/boost/numeric/ublas/detail/config.hpp

-Nasos

On 11/04/2014 08:22 PM, Joaquim Duran wrote:

> I would like to run the test test_fixed_container with
> BOOST_UBLAS_CPP_GE_2011 defined. I've modified the file JamFile.v2 but
> it is not working fine.
>
> [ run test_fixed_continers.cpp
>      :
>      :
>      :
>      <include> BOOST_UBLAS_CPP_GE_2011
> ]
>
> How can I define BOOST_UBLAS_CPP_GE_2011?
>
> 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: Test test_fixed_container

Joaquim Duran
Nasos,

I've activated the c++11 flag in gcc and the compilation of
test_fixed_container has been successful. Thanks.

Joaquim Duran


2014-11-05 14:51 GMT+01:00 Nasos Iliopoulos <[hidden email]>:

> Joaquim
> You shouldn't need to define this directive. C++11 presence should be
> automatically detected, just make sure that you compile with -std=c++11  for
> intel and gcc  (for b2 I think you should add in the command line
> cxxflags=-std=c++11). For MSVC you don't  need the build flag.
>
> See relevant sections of config.hpp:
> https://github.com/boostorg/ublas/blob/master/include/boost/numeric/ublas/detail/config.hpp
>
> -Nasos
>
>
> On 11/04/2014 08:22 PM, Joaquim Duran wrote:
>>
>> I would like to run the test test_fixed_container with
>> BOOST_UBLAS_CPP_GE_2011 defined. I've modified the file JamFile.v2 but
>> it is not working fine.
>>
>> [ run test_fixed_continers.cpp
>>      :
>>      :
>>      :
>>      <include> BOOST_UBLAS_CPP_GE_2011
>> ]
>>
>> How can I define BOOST_UBLAS_CPP_GE_2011?
>>
>> 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]