summaryrefslogtreecommitdiff
path: root/javaunohelper/source/javaunohelper.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-01-10 11:51:00 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-01-10 12:35:13 +0100
commit8ac5b55ada3f408b8a6084a2e1811bbf4ee7ad51 (patch)
treebb6920204dfdb7aad2828cdcdd3a56a4cf03a74b /javaunohelper/source/javaunohelper.cxx
parente60708def22f75d677c6531a7c59630226a04a80 (diff)
Fix some warnings for Raspberry pi 4 (part5)
Change-Id: I843746f976855168c791c97a56bcce430af1eea5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109046 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'javaunohelper/source/javaunohelper.cxx')
-rw-r--r--javaunohelper/source/javaunohelper.cxx8
1 files changed, 8 insertions, 0 deletions
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"