facebookincubator/oomd

gcc-6: is no longer supported since commit: 4b9f45bb

Closed this issue · 1 comments

Until Commit 4b9f45b i was able to build oomd on current debian stretch using gcc-6.

Now i get the following errors:

In file included from ../config/ConfigCompiler.cpp:17:0:
../../oomd/config/ConfigCompiler.h:20:20: fatal error: optional: No such file or directory
 #include <optional>
                    ^
compilation terminated.

In file included from ../Oomd.cpp:38:0:
../../oomd/config/ConfigCompiler.h:20:20: fatal error: optional: No such file or directory
 #include <optional>
                    ^
compilation terminated.

Unfortunately oomd is using some c++17 features. If gcc6 doesn't have support, you'll need to find a way to upgrade your compiler.