Open aahnik opened 1 year ago
I've filed a feature request against our parser at https://developercommunity.visualstudio.com/t/Add-C-IntelliSense-support-for-gcc-exten/10311423 . This is also a sub-issue of https://github.com/microsoft/vscode-cpptools/issues/2172 .
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Parameter forward declaration is not supported in C99, but it is supported in modern C. Compiler is not throwing any error, but VS Code shows me error squiggles.
https://stackoverflow.com/questions/17771484/what-is-a-parameter-forward-declaration/17771494#17771494
Steps to reproduce:
In Ubuntu 22.10, VS Code 1.76.1, with C/C++ extension v1.14.4
write this code
But compiling with
gcc -Wall program.c
shows no error, and program works as expected.Debugger Configurations
Debugger Logs
Other Extensions
No response
Additional Information
No response