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>
This commit is contained in:
@@ -34,7 +34,15 @@
|
|||||||
#include <com/sun/star/lang/XComponent.hpp>
|
#include <com/sun/star/lang/XComponent.hpp>
|
||||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||||
|
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-attributes"
|
||||||
|
#endif
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <jvmaccess/unovirtualmachine.hxx>
|
#include <jvmaccess/unovirtualmachine.hxx>
|
||||||
#include <tools/diagnose_ex.h>
|
#include <tools/diagnose_ex.h>
|
||||||
|
|
||||||
|
@@ -30,7 +30,15 @@
|
|||||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||||
#include <com/sun/star/registry/XRegistryKey.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>
|
#include <jni.h>
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <jvmaccess/unovirtualmachine.hxx>
|
#include <jvmaccess/unovirtualmachine.hxx>
|
||||||
|
|
||||||
#include "juhx-export-functions.hxx"
|
#include "juhx-export-functions.hxx"
|
||||||
|
@@ -22,7 +22,15 @@
|
|||||||
|
|
||||||
#include <sal/config.h>
|
#include <sal/config.h>
|
||||||
|
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-attributes"
|
||||||
|
#endif
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <com/sun/star/uno/Reference.hxx>
|
#include <com/sun/star/uno/Reference.hxx>
|
||||||
#include <rtl/ref.hxx>
|
#include <rtl/ref.hxx>
|
||||||
|
|
||||||
|
@@ -35,7 +35,15 @@
|
|||||||
|
|
||||||
#include <com/sun/star/java/XJavaVM.hpp>
|
#include <com/sun/star/java/XJavaVM.hpp>
|
||||||
|
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-attributes"
|
||||||
|
#endif
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include <cppuhelper/factory.hxx>
|
#include <cppuhelper/factory.hxx>
|
||||||
|
|
||||||
|
@@ -20,7 +20,14 @@
|
|||||||
#ifndef INCLUDED_STOC_SOURCE_JAVAVM_JAVAVM_HXX
|
#ifndef INCLUDED_STOC_SOURCE_JAVAVM_JAVAVM_HXX
|
||||||
#define INCLUDED_STOC_SOURCE_JAVAVM_JAVAVM_HXX
|
#define INCLUDED_STOC_SOURCE_JAVAVM_JAVAVM_HXX
|
||||||
|
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-attributes"
|
||||||
|
#endif
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <com/sun/star/container/XContainerListener.hpp>
|
#include <com/sun/star/container/XContainerListener.hpp>
|
||||||
#include <com/sun/star/lang/XInitialization.hpp>
|
#include <com/sun/star/lang/XInitialization.hpp>
|
||||||
|
@@ -25,8 +25,14 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include <rtl/ustring.hxx>
|
#include <rtl/ustring.hxx>
|
||||||
|
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunknown-attributes"
|
||||||
|
#endif
|
||||||
#include <jni.h>
|
#include <jni.h>
|
||||||
|
#if defined __clang__
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
typedef jint JNICALL JNI_InitArgs_Type(void *);
|
typedef jint JNICALL JNI_InitArgs_Type(void *);
|
||||||
|
Reference in New Issue
Block a user