[Libreoffice-commits] core.git: ucb/source
Stephan Bergmann
sbergman at redhat.com
Tue Jan 31 09:41:32 UTC 2017
ucb/source/ucp/cmis/auth_provider.hxx | 8 ++++++++
ucb/source/ucp/cmis/certvalidation_handler.hxx | 8 ++++++++
ucb/source/ucp/cmis/cmis_content.hxx | 9 +++++++++
ucb/source/ucp/cmis/cmis_url.cxx | 8 ++++++++
4 files changed, 33 insertions(+)
New commits:
commit b48f97a2ec6ec5b53234594e70ccf24db347f976
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jan 31 10:40:54 2017 +0100
Silence GCC 7 warnings in libcmis/libcmis.hxx
Change-Id: If7114da10824300804a882fa31080a17e69fc36b
diff --git a/ucb/source/ucp/cmis/auth_provider.hxx b/ucb/source/ucp/cmis/auth_provider.hxx
index c2d1e18..4e560d6 100644
--- a/ucb/source/ucp/cmis/auth_provider.hxx
+++ b/ucb/source/ucp/cmis/auth_provider.hxx
@@ -9,7 +9,15 @@
#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_AUTH_PROVIDER_HXX
#define INCLUDED_UCB_SOURCE_UCP_CMIS_AUTH_PROVIDER_HXX
+#if defined __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated"
+#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
+#endif
#include <libcmis/libcmis.hxx>
+#if defined __GNUC__
+#pragma GCC diagnostic pop
+#endif
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <cppuhelper/weakref.hxx>
diff --git a/ucb/source/ucp/cmis/certvalidation_handler.hxx b/ucb/source/ucp/cmis/certvalidation_handler.hxx
index dde7b87..9519268 100644
--- a/ucb/source/ucp/cmis/certvalidation_handler.hxx
+++ b/ucb/source/ucp/cmis/certvalidation_handler.hxx
@@ -12,7 +12,15 @@
#ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX
#define INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX
+#if defined __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated"
+#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
+#endif
#include <libcmis/libcmis.hxx>
+#if defined __GNUC__
+#pragma GCC diagnostic pop
+#endif
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx
index 270a232..96ac275 100644
--- a/ucb/source/ucp/cmis/cmis_content.hxx
+++ b/ucb/source/ucp/cmis/cmis_content.hxx
@@ -23,7 +23,16 @@
#include <com/sun/star/ucb/XContentCreator.hpp>
#include <com/sun/star/document/CmisVersion.hpp>
#include <ucbhelper/contenthelper.hxx>
+
+#if defined __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated"
+#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
+#endif
#include <libcmis/libcmis.hxx>
+#if defined __GNUC__
+#pragma GCC diagnostic pop
+#endif
#include <list>
diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx
index 3fbfce3..6d42172 100644
--- a/ucb/source/ucp/cmis/cmis_url.cxx
+++ b/ucb/source/ucp/cmis/cmis_url.cxx
@@ -7,7 +7,15 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#if defined __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated"
+#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
+#endif
#include <libcmis/libcmis.hxx>
+#if defined __GNUC__
+#pragma GCC diagnostic pop
+#endif
#include <config_oauth2.h>
#include <rtl/uri.hxx>
More information about the Libreoffice-commits
mailing list