diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-25 08:28:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-25 08:28:45 +0200 |
commit | 8d96f4b663b54b199c93dbb8aa496e77e342170e (patch) | |
tree | cd5bd4f6a6fe269ee08b35334d0bf4f6e5206a1a /desktop/source/app/sofficemain.cxx | |
parent | a87cd5f979156e513abebfab449912f266eb88ff (diff) |
Silence clang-cl -Werror,-Wmicrosoft-enum-value in external include
Change-Id: Ied864f8fde22a83ed35b5ce51054f055e84bac78
Diffstat (limited to 'desktop/source/app/sofficemain.cxx')
-rw-r--r-- | desktop/source/app/sofficemain.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index fdc60d06803e..66c79ca6ad21 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -50,7 +50,14 @@ #if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID #include <client/linux/handler/exception_handler.h> #elif defined WNT +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wmicrosoft-enum-value" +#endif #include <client/windows/handler/exception_handler.h> +#if defined __clang__ +#pragma clang diagnostic pop +#endif #include <locale> #include <codecvt> #endif |