From 5fdc23cb078064647ae88fc284134274b8f4cc4a Mon Sep 17 00:00:00 2001 From: Alison Winters Date: Tue, 9 Mar 2021 01:17:05 -0800 Subject: [PATCH] use cStandard to set -std= flag instead of explicitly including it --- .vscode/c_cpp_properties.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index 71caca95e..19f213496 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -68,8 +68,7 @@ "includePath": [ "${workspaceFolder}" ], - "cStandard": "c11", - "cppStandard": "c++11", + "cStandard": "gnu17", "compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc", "compilerArgs": [ "-Wall", @@ -95,7 +94,6 @@ "-fstrict-overflow", "-fno-semantic-interposition", "-mno-omit-leaf-frame-pointer", - "-std=gnu2x", "-fno-jump-tables", "-nostdinc", "-iquote." @@ -111,4 +109,4 @@ } ], "version": 4 -} \ No newline at end of file +}