[gnumeric] Compilation: house cleaning.



commit c7e0f731436d831ac3b4e7e78c128a8b22abf0ac
Author: Morten Welinder <terra gnome org>
Date:   Thu May 10 10:55:23 2018 -0400

    Compilation: house cleaning.
    
    No need to support really old gcc.

 src/compilation.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/compilation.h b/src/compilation.h
index ff8089c..db88929 100644
--- a/src/compilation.h
+++ b/src/compilation.h
@@ -2,16 +2,8 @@
 #define GNUMERIC_GTK_COMPILATION_H
 
 #if defined(__GNUC__)
-#define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__ )
-#if (GCC_VERSION >= 402)
-#if (GCC_VERSION >= 406)
 #define GNM_BEGIN_KILL_SWITCH_WARNING _Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored 
\"-Wswitch\"")
 #define GNM_END_KILL_SWITCH_WARNING _Pragma("GCC diagnostic pop")
-#else
-#define GNM_BEGIN_KILL_SWITCH_WARNING _Pragma("GCC diagnostic ignored \"-Wswitch\"")
-#define GNM_END_KILL_SWITCH_WARNING _Pragma("GCC diagnostic warning \"-Wswitch\"")
-#endif
-#endif
 #endif
 
 #ifndef GNM_BEGIN_KILL_SWITCH_WARNING


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]