22 #ifdef SILENCE_EXTERNAL_WARNINGS 28 # define __GNUC_VERSION__ (__GNUC__ * 100 \ 30 # if (__GNUC_VERSION__ >= 406) 31 # define GNU_COMPILER_OK 1 33 # define GNU_COMPILER_OK 0 36 # define GNU_COMPILER_OK 0 41 #if defined(__clang__) 42 # define CLANG_COMPILER_OK 1 44 # define CLANG_COMPILER_OK 0 48 #define COMPATIBLE_COMPILER (GNU_COMPILER_OK || CLANG_COMPILER_OK) 53 #if COMPATIBLE_COMPILER 54 #pragma GCC diagnostic pop 55 #endif // COMPATIBLE_COMPILER 57 #endif // SILENCE_EXTERNAL_WARNINGS