diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-01-13 18:52:31 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-01-13 18:54:23 +0100 |
commit | 2b157a5bd6731ce213411806a39344365a56af71 (patch) | |
tree | 5f35713506cf59e3070823cda742212f63b4485b /connectivity | |
parent | 8dd78873a9de028c0d9f1f1aee537e85f74d2300 (diff) |
Fix some warnings for Raspberry pi 4 (part6)
Change-Id: I1114968f38a5309862723dde9554e3df97309f23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109239
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/inc/hsqldb/HStorageAccess.hxx | 7 | ||||
-rw-r--r-- | connectivity/source/inc/hsqldb/HStorageMap.hxx | 9 | ||||
-rw-r--r-- | connectivity/source/inc/java/LocalRef.hxx | 8 | ||||
-rw-r--r-- | connectivity/source/inc/java/tools.hxx | 7 |
4 files changed, 30 insertions, 1 deletions
diff --git a/connectivity/source/inc/hsqldb/HStorageAccess.hxx b/connectivity/source/inc/hsqldb/HStorageAccess.hxx index 457d1eaffc73..feab18e412c6 100644 --- a/connectivity/source/inc/hsqldb/HStorageAccess.hxx +++ b/connectivity/source/inc/hsqldb/HStorageAccess.hxx @@ -22,7 +22,14 @@ #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 namespace connectivity::hsqldb { diff --git a/connectivity/source/inc/hsqldb/HStorageMap.hxx b/connectivity/source/inc/hsqldb/HStorageMap.hxx index 05044b75cf47..15aecc02cfe4 100644 --- a/connectivity/source/inc/hsqldb/HStorageMap.hxx +++ b/connectivity/source/inc/hsqldb/HStorageMap.hxx @@ -30,7 +30,16 @@ #include <com/sun/star/io/XOutputStream.hpp> #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XSeekable.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 <uno/environment.hxx> namespace connectivity::hsqldb 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 { diff --git a/connectivity/source/inc/java/tools.hxx b/connectivity/source/inc/java/tools.hxx index aa7cb20cad9b..e17fa9c42ebb 100644 --- a/connectivity/source/inc/java/tools.hxx +++ b/connectivity/source/inc/java/tools.hxx @@ -23,7 +23,14 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/uno/Sequence.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/container/XNameAccess.hpp> #include <com/sun/star/io/XInputStream.hpp> |