From 9086a4bbd38b9a5320525392affe495e7772796a Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 2 Oct 2014 18:42:07 +0200 Subject: remove checks of __GCC_MINOR__ that are always true in GCC 4.6 or later Change-Id: I4412a0c1e4dee94cd717f24b8df5e257d895f721 --- l10ntools/source/cfglex.l | 2 -- l10ntools/source/srclex.l | 2 -- l10ntools/source/xrmlex.l | 2 -- 3 files changed, 6 deletions(-) (limited to 'l10ntools') diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l index 0fe951c0ff37..663070ab2d29 100644 --- a/l10ntools/source/cfglex.l +++ b/l10ntools/source/cfglex.l @@ -47,9 +47,7 @@ #if __GNUC__ #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-label" -#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) #pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif #elif defined _MSC_VER #pragma warning(push, 1) #endif diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index 0985b431f04c..979df7512924 100644 --- a/l10ntools/source/srclex.l +++ b/l10ntools/source/srclex.l @@ -48,9 +48,7 @@ #ifdef __GNUC__ #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-label" -#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) #pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif #elif defined _MSC_VER #pragma warning(push, 1) #endif diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l index ec00468de4d9..0d4bb4d48573 100644 --- a/l10ntools/source/xrmlex.l +++ b/l10ntools/source/xrmlex.l @@ -46,9 +46,7 @@ #ifdef __GNUC__ #pragma GCC diagnostic ignored "-Wunused-function" #pragma GCC diagnostic ignored "-Wunused-label" -#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) #pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#endif #elif defined _MSC_VER #pragma warning(push, 1) #endif -- cgit