I posted this on StackOverflow (with a screenshot) but got no answer, so trying here...
I'm getting the following (probably) inspection warning in CLion:
warning: bitwise operation between different enumeration types is deprecated
There is no context menu option to disable it and I can't find it anywhere in the settings. I can see the warning popup window (see screenshot) when I hover over it with the mouse, but there isn't any information there except the warning text (no error code, intention name or anything at all that gives me a clue as to where this warning comes from)... very strange.
I thought it comes from C++20 compiler warning C5054 from the MSVC compiler so I tried to disable it in CMake with
target_compile_options(engine PRIVATE -wd5054) but it didn't work.
Note: it bothers me since it appears all over my code and I fix the original code that causes it since it comes from in an external library.
Any idea how do I disable this annoyance?