Intellisense error detection not work for C project's function? #13647
|
So I just can't find out why C/C++ Intellisense works fine for my C++ project, but C wouldn't give any error squiggles on undefined function? Even though I commented all However all C++ projects are fine no matter with MSVC or GNU C/C++. Actually, if I change the previous showed example's file name to cpp, then Intellisense actually knows there isn't a function declared as I reinstall the VScode and all plugins, but it still won;t work for my C projects, any ideas? |
Replies: 1 comment
|
ChenXinXuTUCS (@ChenXinXuTUSC) That is "by design". C compilers only give a warning and not an error when encountering undefined identifiers. We have an issue tracking potentially adding a warning at #828 |


ChenXinXuTUCS (@ChenXinXuTUSC) That is "by design". C compilers only give a warning and not an error when encountering undefined identifiers. We have an issue tracking potentially adding a warning at #828