elektronikworkshop / cocopa

Compiler Command Parser - Parser to extract include directories, defines, arguments from compiler command line invocations
Other
0 stars 3 forks source link

Pass cppStandard when getting gcc builtins #15

Open colincross opened 1 year ago

colincross commented 1 year ago

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.