C++17 support?

Brad Bishop bradleyb at fuzziesquirrel.com
Mon Sep 10 23:00:58 AEST 2018

> On Sep 10, 2018, at 3:06 AM, Lei YU <mine260309 at gmail.com> wrote:
> Now we are using GCC 7.3 and it has full C++17 support, although it is
> [experimental][1]
> Is it suitable for a product to use C++17 instead of C++14 in repos?

It depends on your tolerance for risk and support structure.  So likely
the answer depends on who you ask.

> So I would like to use C++17 in this repo, which then does not require any
> code change to enable LinkTimeOptimization.

I don’t have any problem with this.  In fact I much prefer we are at the
bleeding edge.  I know that makes it hard for our users (system integrators)
to be confident but soon-ish we’ll have a stable release for those with lower
risk tolerance.

More information about the openbmc mailing list