Clion shows errors after installing MinGW with g++ version 8.1
已回答
Hi.
I recently installed the latest MinGW with g++ version 8.1.
The editor shows the errors even though the code builds and runs.
There were no errors with g++ version 7.1.
Thanks in advance for any help.
请先登录再写评论。

Hello! What CLion version do you use (see Help | About CLion)?
Clion version 2018.1.5.
Also why does Clion use 90% CPU when building symbol table after pointing to different g++ versions on Windows 10?
I've installed MinGW with gcc 8.1 (from here) and didn't manage to reproduce the problem in CLion 2018.1.5:
Could you please try Tools | CMake | Reset Cache and Reload Project? Does it help?
When you change a toolchain, CLion reloads a CMake project and therefore needs to reindex it.
Reset Cache and Reload Project worked.
Thanks Anna.