Skip to content

Pass cppStandard when getting gcc builtins#15

Open
colincross wants to merge 1 commit into
elektronikworkshop:masterfrom
colincross:patch-2
Open

Pass cppStandard when getting gcc builtins#15
colincross wants to merge 1 commit into
elektronikworkshop:masterfrom
colincross:patch-2

Conversation

@colincross
Copy link
Copy Markdown

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant