How to suppress this error "expected an integer constant C/C++(661)" ? #12309
Answered
by
sean-mcmanus
huangda1982
asked this question in
Q&A
-
Code is like this: This is legal with the compiler I am using. I can compile it with tasks.json. Why can VSCode show compiling errors? Dose VSCode compile my c file with some internal compiler to check compiling errors? |
Beta Was this translation helpful? Give feedback.
Answered by
sean-mcmanus
May 16, 2024
Replies: 1 comment 2 replies
-
What compiler? You could use the Select IntelliSense Configuration command to select a compiler. C/C++(661) is an IntelliSense error. Or use
if you only want to suppress that one error. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@huangda1982 You could probably add that code to a file and then set the file in the forcedInclude property. Or you could set C_Cpp.intelliSenseEngine to "Tag Parser" to turn off all IntelliSense features.