From 8d96f4b663b54b199c93dbb8aa496e77e342170e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 25 May 2016 08:28:45 +0200 Subject: Silence clang-cl -Werror,-Wmicrosoft-enum-value in external include Change-Id: Ied864f8fde22a83ed35b5ce51054f055e84bac78 --- desktop/source/app/sofficemain.cxx | 7 +++++++ 1 file changed, 7 insertions(+) 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 #elif defined WNT +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wmicrosoft-enum-value" +#endif #include +#if defined __clang__ +#pragma clang diagnostic pop +#endif #include #include #endif -- cgit