
Okay, so how do I build Boost under the C++17 standard? There's something I need to do in the configuration file, right?

On 2019-09-11 2:14 p.m., Osman Zakir via Boost-users wrote:
Okay, so how do I build Boost under the C++17 standard? There's something I need to do in the configuration file, right?
part of my command line on linux (windows would be a different toolset): ./b2 --layout=versioned toolset=gcc cxxflags=-std=gnu++17 ........ Raymond. https://blog.raymond.burkholder.net

On Thu, 12 Sep 2019, 01:39 Raymond Burkholder via Boost-users, < boost-users@lists.boost.org> wrote:
On 2019-09-11 2:14 p.m., Osman Zakir via Boost-users wrote:
Okay, so how do I build Boost under the C++17 standard? There's something I need to do in the configuration file, right?
part of my command line on linux (windows would be a different toolset):
./b2 --layout=versioned toolset=gcc cxxflags=-std=gnu++17 ........
The cxxflags use is discouraged. The cxxstd is b2 canonical setting for the standard. Mateusz Loskot, mateusz@loskot.net (Sent from mobile, may suffer from top-posting)
participants (4)
-
Glen Fernandes
-
Mateusz Loskot
-
Osman Zakir
-
Raymond Burkholder