Closed xren5321 closed 4 weeks ago
Could you provide the codebase you are using to reproduce this error?
After further investigation, it looks like you are facing an existing issue due to by-design behavior from c-compilers. C-compilers process implicit functions as warnings and not errors. Thus, IntelliSense will not squiggle an undefined function with an error squiggle before compilation (see below).
After compilation, you should see a warning flag generated using the -Wimplicit-function-declaration in the c compiler.
More information can be found on another issue addressing this here: https://github.com/microsoft/vscode-cpptools/issues/828
This issue will now be closed as a duplicate. Please let us know if you have further concerns.
thank you. So is Clang-Tidy supported now?
@xren5321 It is, via the Run Code Analysis commands (and C_Cpp.codeAnalysis.* settings).
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
![image](https://github.com/microsoft/vscode-cpptools/assets/48077865/3909f3f3-3b29-426f-aef6-c993caa7ea18)
Configuration and Logs
Other Extensions
No response
Additional context
This is a cubemx generated makefile format code, I write a random function in the main C/CPP does not give hints