Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Basic wiring identifiers are undefined? #1468

@zfields

Description

@zfields

vscode-ext-arduino-issue

As you can see in the screenshot, VSCode claims the most basic wiring APIs are not defined.

I have validated the paths in the c_cpp_preferences.json, and they are correct. I also noticed that the problem matcher claims it is checking against C/C++(20) in the PROBLEMS tab. However, the standard specified in c_cpp_preferences.json clearly states c++14.
For the record: The c_cpp_preferences.json file was generated by the extension. I did NOT modify the file; I only verified its contents.

The code compiles without warnings, and if I press F12, then it will find the definition of either of the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions