gcc 14.1+ and clang 15+ with gcc/clang no-implicit-function-declaration isn't enforced as an error

Open
#14,368 2 comments 0 reactions 1 assignee View on GitHub

@sean-mcmanus is already working on this.

Since Apr 13, 2026.

Assessment

This issue has not been assessed yet.

Description

bug Language Service parser Visual Studio

While it's not valid in the C99 standard, it looks like all the C compilers we support don't support this rule, I assume because it would be a breaking change with C89.

In GCC, implicit function declaration is an error even without any additional warning flags. This is with --std=c23; I'm not sure about C89. You have to explicitly turn this off with -Wno-implicit-function-declaration.

Originally posted by @cD1rtX3 in #828

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

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.

More from microsoft/vscode-cpptools

All issues in microsoft/vscode-cpptools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.