diff options
| author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-31 11:55:22 +0100 | 
|---|---|---|
| committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-31 11:56:36 +0100 | 
| commit | 01aa52b5e91bac740ad21c31968c834c1530831e (patch) | |
| tree | 116c8cc1b852b998b0fbbcb174ffcd0bf1ba3660 /ucb | |
| parent | d339bba78ada3655097e96c82eeb886818ee5080 (diff) | |
Work around -Werror,-Wunknown-pragmas
...from GCC < 7 not knowing -Wunused-but-set-parameter
Change-Id: I6494882085ad39df8d7b94fa062a7717bffacadb
Diffstat (limited to 'ucb')
| -rw-r--r-- | ucb/source/ucp/cmis/auth_provider.hxx | 4 | ||||
| -rw-r--r-- | ucb/source/ucp/cmis/certvalidation_handler.hxx | 4 | ||||
| -rw-r--r-- | ucb/source/ucp/cmis/cmis_content.hxx | 4 | ||||
| -rw-r--r-- | ucb/source/ucp/cmis/cmis_url.cxx | 4 | 
4 files changed, 8 insertions, 8 deletions
diff --git a/ucb/source/ucp/cmis/auth_provider.hxx b/ucb/source/ucp/cmis/auth_provider.hxx index c7388ef15261..bce846837829 100644 --- a/ucb/source/ucp/cmis/auth_provider.hxx +++ b/ucb/source/ucp/cmis/auth_provider.hxx @@ -9,7 +9,7 @@  #ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_AUTH_PROVIDER_HXX  #define INCLUDED_UCB_SOURCE_UCP_CMIS_AUTH_PROVIDER_HXX -#if defined __GNUC__ +#if defined __GNUC__ && __GNUC__ >= 7  #pragma GCC diagnostic push  #pragma GCC diagnostic ignored "-Wdeprecated"  #ifndef __clang__ @@ -17,7 +17,7 @@  #endif  #endif  #include <libcmis/libcmis.hxx> -#if defined __GNUC__ +#if defined __GNUC__ && __GNUC__ >= 7  #pragma GCC diagnostic pop  #endif diff --git a/ucb/source/ucp/cmis/certvalidation_handler.hxx b/ucb/source/ucp/cmis/certvalidation_handler.hxx index 04dd44f76f74..e20c926d834f 100644 --- a/ucb/source/ucp/cmis/certvalidation_handler.hxx +++ b/ucb/source/ucp/cmis/certvalidation_handler.hxx @@ -12,7 +12,7 @@  #ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX  #define INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX -#if defined __GNUC__ +#if defined __GNUC__ && __GNUC__ >= 7  #pragma GCC diagnostic push  #pragma GCC diagnostic ignored "-Wdeprecated"  #ifndef __clang__ @@ -20,7 +20,7 @@  #endif  #endif  #include <libcmis/libcmis.hxx> -#if defined __GNUC__ +#if defined __GNUC__ && __GNUC__ >= 7  #pragma GCC diagnostic pop  #endif diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx index 867c5d0a5f31..370fe3124204 100644 --- a/ucb/source/ucp/cmis/cmis_content.hxx +++ b/ucb/source/ucp/cmis/cmis_content.hxx @@ -24,7 +24,7 @@  #include <com/sun/star/document/CmisVersion.hpp>  #include <ucbhelper/contenthelper.hxx> -#if defined __GNUC__ +#if defined __GNUC__ && __GNUC__ >= 7  #pragma GCC diagnostic push  #pragma GCC diagnostic ignored "-Wdeprecated"  #ifndef __clang__ @@ -32,7 +32,7 @@  #endif  #endif  #include <libcmis/libcmis.hxx> -#if defined __GNUC__ +#if defined __GNUC__ && __GNUC__ >= 7  #pragma GCC diagnostic pop  #endif diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx index 927d9dbaa2ac..a54a67f13872 100644 --- a/ucb/source/ucp/cmis/cmis_url.cxx +++ b/ucb/source/ucp/cmis/cmis_url.cxx @@ -7,7 +7,7 @@   * file, You can obtain one at http://mozilla.org/MPL/2.0/.   */ -#if defined __GNUC__ +#if defined __GNUC__ && __GNUC__ >= 7  #pragma GCC diagnostic push  #pragma GCC diagnostic ignored "-Wdeprecated"  #ifndef __clang__ @@ -15,7 +15,7 @@  #endif  #endif  #include <libcmis/libcmis.hxx> -#if defined __GNUC__ +#if defined __GNUC__ && __GNUC__ >= 7  #pragma GCC diagnostic pop  #endif  | 
