microsoft / microsoft/vscode-cpptools

Some of the MSVC compiler args and predefined macros are not being handled

Open
#14,312 0 comments 1 reaction 1 assignee View on GitHub

@Colengms is already working on this.

Since Sep 8, 2026.

bug fixed Language Service
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

See https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-180

One recent user reported case was https://github.com/microsoft/vscode-cpptools/issues/14310

  • /Zc:__STDC__ isn't using --ms_stdc and defining __STDC__.
  • /Za isn't defing __STDC__.
    ...it seems like there could be a lot more...maybe we could postpone this till users ask for specific args to be handled? Some of these are probably pretty rarely used?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.