Boost logo

Boost Users :

Subject: Re: [Boost-users] c++14 support
From: Freddy Martinez Garcia (freddy311082_at_[hidden])
Date: 2015-06-14 11:11:43


Thank for your answer Maichel, but I think that I’m not explain my self very well….

I had download boost 1.58 from sourceforge, to compile it, first I have to run in shell the command

./bootstrap

after that I must run ./b2 <options>

I had checked ./b2 --help command and I couldn’t see where I can say to ./b2 command that I need a flag like c++0x (for c++11) or c++0y(for c++14)… that is my question…

I need to compile with c++14 because I’m using Wt, which it use boost, but in my entire project we are using c++14…

regards my friend

=============================================
"El tamaño de tus logros depende del tamaño de tus metas."
C++ and Qt Senior Developer
Lic. Computer Science
Buenos Aires, Argentina

> On Jun 14, 2015, at 12:06 PM, Michael Powell <mwpowellhtx_at_[hidden]> wrote:
>
> On Sun, Jun 14, 2015 at 11:02 AM, Freddy Martinez Garcia
> <freddy311082_at_[hidden]> wrote:
>> yes, I’m using clang in OS X which have c++0y support, but where can I say to boost that I’m compiling with c++0y >>
>
> I don't know about OS X compilers, but at least with GCC, there is a
> command line switch.
>
> gcc -std=c++14
>
> You may need/want to build it from the ground up as well, but I can't
> promise you whether that's true.
>
> Good luck...
>
>> regards
>>
>>
>> =============================================
>> "El tamaño de tus logros depende del tamaño de tus metas."
>> C++ and Qt Senior Developer
>> Lic. Computer Science
>> Buenos Aires, Argentina
>>
>>> On Jun 14, 2015, at 11:44 AM, Vicente J. Botet Escriba <vicente.botet_at_[hidden]> wrote:
>>>
>>> Le 14/06/15 10:08, Freddy Martinez Garcia a écrit :
>>>> hi guys, I’m new with boost...
>>>>
>>>> can anyone tell me if boost library can be compiled with c++14 support ??
>>> Yes. Boost is compiled by some testers [1] with -std=c++1y (See e.g. [2])
>>>> in that case, how can I do that ??
>>>>
>>>>
>>> I don't understand. IMO, you need just to use a C++14 compiler.
>>>
>>> Vicente
>>>
>>> [1] http://www.boost.org/development/tests/develop/developer/summary.html
>>> [2] http://www.boost.org/development/tests/develop/BP%20x86_64%20C++11.html
>>> _______________________________________________
>>> Boost-users mailing list
>>> Boost-users_at_[hidden]
>>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net