In my code, I #include <map> . When I call the “find” function, the visual studio code hinting shows that “has no member ‘find'”. But I can successfully build the program. The “clear” function also has the same question. Anyone know how to fix this?
Thanks for confirming this. This could be caused by IntelliSense and the compiler using different sets of headers or different build parameters. Please let us know the type of the project (Embedded/Linux/Android) and the machine on which it is built (Windows or Linux via SSH). If you could also attach a screenshot of the problem, we might be able to diagnose it by checking for known irregularities.
Thanks for confirming this. It could be caused by incompletely downloaded header directories. Please try refreshing them via the IntelliSense Settings page of VisualGDB Project Properties.
Thanks for checking this. It actually looks like despite enabling Clang IntelliSense, your project might not be using it (Clang error messages should be prefixed with [Clang IntelliSense]). Could you please post the screenshot of the entire VS window and the contents of View->Clang IntelliSense Diagnostics Console so that we could check that it got loaded properly?