Dean Chen
Dean Chen

Reputation: 3890

compiling boost 1.55 with c++11

I decided to upgrade all my c++ apps to c++11, but not sure if I should do some special step when building boost 1.55 with gcc4.8.1. Should I enable c++11 option when compiling boost code?

Upvotes: 2

Views: 4486

Answers (1)

oakad
oakad

Reputation: 7625

I'm using c++11 compiled boost for around a year already and it works mostly fine (if everything else is also compiled with c++11 set, otherwise ABI compatibility problems may surface - see http://gcc.gnu.org/wiki/Cxx11AbiCompatibility).

Also, while there's an ongoing work to make use of C++11 features in the various components of Boost framework, the progress is very uneven. Thus you may want to check first, whether the components you're interested in are already making use of any C++11 improvements.

Upvotes: 2

Related Questions