microsoft / microsoft/vscode-cpptools
gcc 14.1+ and clang 15+ with gcc/clang no-implicit-function-declaration isn't enforced as an error
Aperta
@sean-mcmanus ci sta già lavorando.
Dal 13/4/2026.
bug
Language Service
parser
Visual Studio
- Lingua principale
- TypeScript
- Stelle
- 6.2k
- Fork
- 1.7k
- Merge medio
- 14h 46m
- PR unite (30g)
- 61
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.