News for hackers. Stuff that matters.
Re:Cleaning up X server warnings by mitchty on Sunday December 15, 2013 @09:34AM (#6909492)
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

There are no comments on this comment yet.