CLion with Meson - see compiler warnings as Problems / inline?
Hi, I'm evaluating CLion for C++ development. I'm trying to understand what features are supported or what might be an issue on my end.
I have a project configured using Meson and a clang-based mingw64 toolchain, on Windows 10. When I compile using “build”, I see warnings output in the Messages window. I can click the warning locations and am taken to the exact place where the warning occurred.
However, if I look at the Problems window, it only seems to show warnings coming from clang-tidy or from built-in inspections. It's not showing me compiler warnings.
So in order to see the compiler warnings for a specific file, I would have to ctrl+f in the Messages window for the name of the file. It would be much more convenient if CLion parsed the compiler warnings and showed them in the Problems view or even inline with the code.
I have also tried switching to a gcc-based mingw64 toolchain and it still doesn't show the compiler warnings in the Problems view.
Is this the intended behavior, or is something wrong? In VSCode (my previous IDE for C++), I see compiler warnings inline just fine (and on the same toolchains).
请先登录再写评论。
Hello!
Please provide a code sample that produces a compiler warning, the produced compiler warning, and the warning shown in CLion (if CLion shows any).
Here is a minimal reproduction repo with a video link demonstrating my issue. Please refer to README.md.
https://github.com/chairbender/clion-errorwarning-reproducer
Can reproduce this on macOS 15.5 with CLion 2025.1.1. Also, the Problems window doesn't show errors either. They only appear in the Messages window, which is quite inconvenient.