diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-06-01 14:59:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-06-01 19:08:03 +0200 |
commit | d098fb74df7c11bbfa8103ec8c7c89652b07bfc4 (patch) | |
tree | 0cbd286cbba5ce6503cf6d6e6fd012d8c14d7bfc /extensions | |
parent | c4015f23024880fbfd988bb1c5749360ededc57b (diff) |
Improve handling of _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING turned into a global
-D..., same as existing
_SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING.
Change-Id: Ifefdc930a1d3ecf5366523dea509bfaca1f4e002
Reviewed-on: https://gerrit.libreoffice.org/55188
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/servprov.cxx | 3 | ||||
-rw-r--r-- | extensions/source/ole/unoobjw.cxx | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx index f0ebc858f841..729f858d191a 100644 --- a/extensions/source/ole/servprov.cxx +++ b/extensions/source/ole/servprov.cxx @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -// See https://blogs.msdn.microsoft.com/vcblog/2017/12/08/c17-feature-removals-and-deprecations/ -#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING 1 - #include <vector> #include "ole2uno.hxx" diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index f355b261566c..18ae4215ed5b 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -22,9 +22,6 @@ // https://www.codeproject.com/Articles/9014/Understanding-COM-Event-Handling // https://blogs.msdn.microsoft.com/ericlippert/2005/02/15/why-does-wscript-connectobject-not-always-work/ -// See https://blogs.msdn.microsoft.com/vcblog/2017/12/08/c17-feature-removals-and-deprecations/ -#define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING 1 - #include "ole2uno.hxx" #include <stdio.h> |