"#include" statements are always invalid · Issue #6740 · microsoft/vscode-cpptools · GitHub
Skip to content

"#include" statements are always invalid #6740

Description

@Phoupraw

Type: General

"#include" statements are always invalid. If I create a folder and set the options files, the errors disappear but it goto a file of option and never compile and run. I've installed GCC.

Describe the bug

  • OS and Version: Win10
  • VS Code Version: 1.49.1
  • C/C++ Extension Version: 1.1.3
  • Other extensions you installed (and if the issue persists after disabling them): None
  • A clear and concise description of what the bug is:
    "#include" statements are always invalid, just like the image below.

To Reproduce
C动态数组测试.zip
Steps to reproduce the behavior:

  1. Unzip and open the c file using VSCode and Cpptools
  2. See error of include statements

Expected behavior
No error for include statements.

Screenshots
include总是错误

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions