diff options
Diffstat (limited to 'javaunohelper')
-rw-r--r-- | javaunohelper/source/bootstrap.cxx | 8 | ||||
-rw-r--r-- | javaunohelper/source/javaunohelper.cxx | 8 | ||||
-rw-r--r-- | javaunohelper/source/vm.hxx | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/javaunohelper/source/bootstrap.cxx b/javaunohelper/source/bootstrap.cxx index e7bf63b841de..cec9d500ba9c 100644 --- a/javaunohelper/source/bootstrap.cxx +++ b/javaunohelper/source/bootstrap.cxx @@ -34,7 +34,15 @@ #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/uno/XComponentContext.hpp> +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunknown-attributes" +#endif #include <jni.h> +#if defined __clang__ +#pragma clang diagnostic pop +#endif + #include <jvmaccess/unovirtualmachine.hxx> #include <tools/diagnose_ex.h> diff --git a/javaunohelper/source/javaunohelper.cxx b/javaunohelper/source/javaunohelper.cxx index abf57e17f0a4..8db57c5b78f3 100644 --- a/javaunohelper/source/javaunohelper.cxx +++ b/javaunohelper/source/javaunohelper.cxx @@ -30,7 +30,15 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/registry/XRegistryKey.hpp> +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunknown-attributes" +#endif #include <jni.h> +#if defined __clang__ +#pragma clang diagnostic pop +#endif + #include <jvmaccess/unovirtualmachine.hxx> #include "juhx-export-functions.hxx" diff --git a/javaunohelper/source/vm.hxx b/javaunohelper/source/vm.hxx index d257c796cd1f..6681dfffac21 100644 --- a/javaunohelper/source/vm.hxx +++ b/javaunohelper/source/vm.hxx @@ -22,7 +22,15 @@ #include <sal/config.h> +#if defined __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wunknown-attributes" +#endif #include <jni.h> +#if defined __clang__ +#pragma clang diagnostic pop +#endif + #include <com/sun/star/uno/Reference.hxx> #include <rtl/ref.hxx> |