I am using the Open Source Smartwatch project (stock configuration, as seen on github) it builds perfetly fine from the command line, and the includes and intellisense works with VScode as expected. However when I open the same project with the CLion PlatformIO extension the intellisense is broken and it cannot find the includes, but clicking build works as expected because the configuration is fine.
Yes I have several errors, it looks like it is feeding gcc VS style command line switches.
But I dont have MinGW installed on my system, I can’t switch to it (my gcc/++ comes from PlatformIO).
If I switch it to MinGW in CLion then I have even more errors, I get the same errors when reloading and my builds fail too (they ran fine before)