add GCC_DIAG_IGNORE(), GCC_DIAG_RESTORE macros
authorDavid Mitchell <davem@iabyn.com>
Wed, 27 Nov 2013 16:56:59 +0000 (16:56 +0000)
committerDavid Mitchell <davem@iabyn.com>
Thu, 28 Nov 2013 17:03:49 +0000 (17:03 +0000)
commitb56aac20bc53699e4a5ea975542404fb371cf085
treec75018ae65eab723f532c6d995ed0a604cdbaf53
parent531b2663d70bdda47662024f4697a3c3f713f83c
add GCC_DIAG_IGNORE(), GCC_DIAG_RESTORE macros

These allow you to temporarily disable a specific gcc or clang warning;
e.g.

    GCC_DIAG_IGNORE(-Wmultichar);
    char b = 'ab';
    GCC_DIAG_RESTORE;
perl.h