1 #ifndef GNUMERIC_GTK_COMPILATION_H
2 #define GNUMERIC_GTK_COMPILATION_H
5 #define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__ )
6 #if (GCC_VERSION >= 402)
7 #if (GCC_VERSION >= 406)
8 #define GNM_BEGIN_KILL_SWITCH_WARNING _Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wswitch\"")
9 #define GNM_END_KILL_SWITCH_WARNING _Pragma("GCC diagnostic pop")
11 #define GNM_BEGIN_KILL_SWITCH_WARNING _Pragma("GCC diagnostic ignored \"-Wswitch\"")
12 #define GNM_END_KILL_SWITCH_WARNING _Pragma("GCC diagnostic warning \"-Wswitch\"")
17 #ifndef GNM_BEGIN_KILL_SWITCH_WARNING
18 #define GNM_BEGIN_KILL_SWITCH_WARNING
20 #ifndef GNM_END_KILL_SWITCH_WARNING
21 #define GNM_END_KILL_SWITCH_WARNING