#ifdef __GNUG__ # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wswitch" # pragma GCC diagnostic ignored "-Wreorder" # pragma GCC diagnostic ignored "-Wunused-variable" # pragma GCC diagnostic ignored "-Wunused-parameter" # pragma GCC diagnostic ignored "-Wcast-align" # ifndef __clang__ # pragma GCC diagnostic ignored "-Wunused-but-set-variable" # pragma GCC diagnostic ignored "-Wcast-function-type" # endif #endif #ifdef __clang__ # pragma clang diagnostic push # pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant" # pragma clang diagnostic ignored "-Wextra-semi" # pragma clang diagnostic ignored "-Wshadow-field" # pragma clang diagnostic ignored "-Wreserved-id-macro" #endif