use cStandard to set -std= flag instead of explicitly including it

This commit is contained in:
Alison Winters 2021-03-09 01:17:05 -08:00
parent 064c32f4e3
commit 5fdc23cb07

View file

@ -68,8 +68,7 @@
"includePath": [ "includePath": [
"${workspaceFolder}" "${workspaceFolder}"
], ],
"cStandard": "c11", "cStandard": "gnu17",
"cppStandard": "c++11",
"compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc", "compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc",
"compilerArgs": [ "compilerArgs": [
"-Wall", "-Wall",
@ -95,7 +94,6 @@
"-fstrict-overflow", "-fstrict-overflow",
"-fno-semantic-interposition", "-fno-semantic-interposition",
"-mno-omit-leaf-frame-pointer", "-mno-omit-leaf-frame-pointer",
"-std=gnu2x",
"-fno-jump-tables", "-fno-jump-tables",
"-nostdinc", "-nostdinc",
"-iquote." "-iquote."