[Libreoffice-commits] core.git: l10ntools/source

Stephan Bergmann sbergman at redhat.com
Thu Sep 3 01:35:03 PDT 2015


 l10ntools/source/cfglex.l |    7 -------
 l10ntools/source/srclex.l |    7 -------
 l10ntools/source/xrmlex.l |    7 -------
 3 files changed, 21 deletions(-)

New commits:
commit 9cb929d8bb58b6f941d74bd532cecb252d2b2983
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 3 10:33:44 2015 +0200

    Generated code is compiled with WaE disabled, anyway
    
    ...and at least in the __GNUC__ case, the list of ignored warnings only covered
    a fraction of the actually emitted warnings, so just don't bother
    
    Change-Id: I962f50be7da3ae1e215318c6b7dd2f534cbdd57c

diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l
index 663070a..fe53a88 100644
--- a/l10ntools/source/cfglex.l
+++ b/l10ntools/source/cfglex.l
@@ -44,13 +44,6 @@
 
 #include "cfglex.hxx"
 
-#if __GNUC__
-#pragma GCC diagnostic ignored "-Wunused-function"
-#pragma GCC diagnostic ignored "-Wunused-label"
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
-#elif defined _MSC_VER
-#pragma warning(push, 1)
-#endif
 #define YY_NO_UNISTD_H
 
 int yycolumn = 1;
diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l
index 979df75..1cdef41 100644
--- a/l10ntools/source/srclex.l
+++ b/l10ntools/source/srclex.l
@@ -45,13 +45,6 @@
 
 #include "srclex.hxx"
 
-#ifdef __GNUC__
-#pragma GCC diagnostic ignored "-Wunused-function"
-#pragma GCC diagnostic ignored "-Wunused-label"
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
-#elif defined _MSC_VER
-#pragma warning(push, 1)
-#endif
 #define YY_NO_UNISTD_H
 
 /* forwards */
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index 0d4bb4d..4bd17ec 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -43,13 +43,6 @@
 
 #include "sal/main.h"
 
-#ifdef __GNUC__
-#pragma GCC diagnostic ignored "-Wunused-function"
-#pragma GCC diagnostic ignored "-Wunused-label"
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
-#elif defined _MSC_VER
-#pragma warning(push, 1)
-#endif
 #define YY_NO_UNISTD_H
 
 /* forwards */


More information about the Libreoffice-commits mailing list