'How to change c syntax check standard in vscode

vscode default c syntax checker seems that c standard used not high (maybe c99 or lower) like the example following: enter image description here

array ellipsis is available in c11 , actually it can compiled successfully if specified flag with "std=c11" but vscode still seem it as a syntax error and underline it.

compiler is gcc rather than clang

have some way to fix it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source