connectivity/source/inc/hsqldb/HStorageAccess.hxx | 7 +++++++ connectivity/source/inc/hsqldb/HStorageMap.hxx | 9 +++++++++ connectivity/source/inc/java/LocalRef.hxx | 8 +++++++- connectivity/source/inc/java/tools.hxx | 7 +++++++ 4 files changed, 30 insertions(+), 1 deletion(-)
New commits: commit 2b157a5bd6731ce213411806a39344365a56af71 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Wed Jan 13 18:52:31 2021 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Wed Jan 13 18:54:23 2021 +0100 Fix some warnings for Raspberry pi 4 (part6) Change-Id: I1114968f38a5309862723dde9554e3df97309f23 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109239 Tested-by: Julien Nabet <serval2...@yahoo.fr> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> 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> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits