Hey guys. One of the things I’ve noticed when using the Clang Intellisense engine on 5.4R4 is that it struggles finding common C++ headers like <cstdint>, <cstdlib>, etc. If I create a new file and start adding the #includes per usual, the Intellisense and parsing mechanisms get horribly messed up when it can’t find the C++ headers (it underlines it red and I get an error in the Error List window). To fix this I have to close and restart Visual Studio, which is a bit annoying cause I am creating a lot of files at the moment.
I did find that my troubles went away when I added the toolchain’s include directory (C:\SysGCC\arm-eabi\arm-eabi\include) to the Automatic Header Discovery -> Additional Header Search Directories field in the Intellisense Settings page for the project properties. Given that the project knows what toolchain is being used, would it be against your design paradigm to have it automatically search the toolchain include directory for those header files? It’s not a “huge” deal cause I can simply just add it myself, but I figured I would suggest it anyways since it would be one less thing to do when configuring a project. 🙂