diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/suil_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/suil_internal.h b/src/suil_internal.h index 0a7ed92..ac6e563 100644 --- a/src/suil_internal.h +++ b/src/suil_internal.h @@ -34,6 +34,11 @@ #ifdef __cplusplus extern "C" { +# if defined(__GNUC__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wold-style-cast" +# pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant" +# endif #endif #define SUIL_ERRORF(fmt, ...) fprintf(stderr, "suil error: " fmt, __VA_ARGS__) |