summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-25 08:28:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-25 08:28:45 +0200
commit8d96f4b663b54b199c93dbb8aa496e77e342170e (patch)
treecd5bd4f6a6fe269ee08b35334d0bf4f6e5206a1a /desktop
parenta87cd5f979156e513abebfab449912f266eb88ff (diff)
Silence clang-cl -Werror,-Wmicrosoft-enum-value in external include
Change-Id: Ied864f8fde22a83ed35b5ce51054f055e84bac78
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/sofficemain.cxx7
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