summaryrefslogtreecommitdiffstats
path: root/include/jvmaccess/virtualmachine.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/jvmaccess/virtualmachine.hxx')
-rw-r--r--include/jvmaccess/virtualmachine.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/jvmaccess/virtualmachine.hxx b/include/jvmaccess/virtualmachine.hxx
index a95668cdfa32..22b224e348b6 100644
--- a/include/jvmaccess/virtualmachine.hxx
+++ b/include/jvmaccess/virtualmachine.hxx
@@ -24,7 +24,14 @@
#include <rtl/ref.hxx>
#include <salhelper/simplereferenceobject.hxx>
+#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
namespace jvmaccess
{