From dd924e4ecae5264ef24e87d4b43e38b51a4540fb Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 31 May 2024 12:09:11 +0200 Subject: sys/targets: switch to C++17 Let's see if we can get away with C++17 for all our toolchains. The later standard we can use, the better. C++17 has a number of nice features, e.g. std::optional. --- sys/targets/targets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/targets/targets.go b/sys/targets/targets.go index d444f55aa..afc21d545 100644 --- a/sys/targets/targets.go +++ b/sys/targets/targets.go @@ -620,7 +620,7 @@ var ( // These are used only when building executor. // For C repros and syz-extract, we build C source files. commonCxxFlags = []string{ - "-std=c++14", + "-std=c++17", "-I.", "-Iexecutor/_include", } -- cgit mrf-deployment