diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-03 10:33:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-03 10:34:37 +0200 |
commit | 9cb929d8bb58b6f941d74bd532cecb252d2b2983 (patch) | |
tree | 3de0df3884ec3cb4b8c6ffb62137eaf6fea1d250 /l10ntools | |
parent | 95822dba748e417e4ccc7c21bca63118f971958a (diff) |
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
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/cfglex.l | 7 | ||||
-rw-r--r-- | l10ntools/source/srclex.l | 7 | ||||
-rw-r--r-- | l10ntools/source/xrmlex.l | 7 |
3 files changed, 0 insertions, 21 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l index 663070ab2d29..fe53a88507e1 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 979df7512924..1cdef41c6b3c 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 0d4bb4d48573..4bd17ec5a3ac 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 */ |