From 112349692c68d45695a8fa1b7e2552fdcdfc4e8b Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 30 May 2023 09:18:37 -0400 Subject: [PATCH] Set C++ standard to 17 for dynamic_bridge. (#26946) This uses std::from_chars which is a C++17 feature. Since this is linux, it is safe to say C++17 or higher. Co-authored-by: Andrei Litvin --- examples/dynamic-bridge-app/linux/args.gni | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/dynamic-bridge-app/linux/args.gni b/examples/dynamic-bridge-app/linux/args.gni index 8f80ea257faab2..21ee92ef761b4d 100644 --- a/examples/dynamic-bridge-app/linux/args.gni +++ b/examples/dynamic-bridge-app/linux/args.gni @@ -23,3 +23,5 @@ chip_system_project_config_include = "" chip_project_config_include_dirs = [ "${chip_root}/examples/dynamic-bridge-app/bridge-common/include" ] chip_project_config_include_dirs += [ "${chip_root}/config/standalone" ] + +cpp_standard="c++17"