2 ms·
> And this cannot be silenced with #pragma since it's a macro, so the warning occurs at the location where the macro is invoked. I seem to remember there's act
by jesse__ 1y ago
> And this cannot be silenced with #pragma since it's a macro, so the warning occurs at the location where the macro is invoked.
I seem to remember there's actually a solution for this .. at least on clang and I think MSVC .. you can programmatically turn warnings on/on with the _Pragma() macro. I don't remember exactly what you put in it, but it's designed specifically for this kind of macro nonsense