summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/java/LocalRef.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/inc/java/LocalRef.hxx')
-rw-r--r--connectivity/source/inc/java/LocalRef.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/connectivity/source/inc/java/LocalRef.hxx b/connectivity/source/inc/java/LocalRef.hxx
index 5973405acea5..dc9531507ee2 100644
--- a/connectivity/source/inc/java/LocalRef.hxx
+++ b/connectivity/source/inc/java/LocalRef.hxx
@@ -20,8 +20,14 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_INC_JAVA_LOCALREF_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_INC_JAVA_LOCALREF_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 connectivity::jdbc
{