The -std= argument modifies important builtins such as __cplusplus, pass it to getGccBuiltInCmd to get accurate results based on the detected c++ standard.
Without this vscode-arduino shows squiggly errors when using features from a non-default c++ standard.
The -std= argument modifies important builtins such as __cplusplus, pass it to getGccBuiltInCmd to get accurate results based on the detected c++ standard.
Without this vscode-arduino shows squiggly errors when using features from a non-default c++ standard.