At least clang has it covered: https://clang.llvm.org/docs/UsersManual.html#pragma-gcc-diag...
Don't know what the situation is on MS's and Intel's compilers.
Don't know what the situation is on MS's and Intel's compilers.
There are still edge cases where you can't sanely scope them relating to when templates are evaluated, being unable to use the pragmas at arbitrary points of an expression, warnings that don't respect the warning flags properly, etc. - but it works most of the time.
That said, for warnings with high false positives and low value true positives, I'll just globally suppress the warning.