|
|
|
|
|
by mitchty
4575 days ago
|
|
I thought thats exactly what these are for:
http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html Also work for clang like so (replace clang with GCC for its version): #pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wsomeignoredwarning"
triggered by this code
#pragma clang diagnostic pop
|
|