diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-08-09 11:36:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-08-09 13:26:11 +0200 |
commit | d84bf553afa510e5c674817fa480ac0af62e4945 (patch) | |
tree | b54612c7d912df0f78018be5cacc31838015d69b /sc/inc | |
parent | ffc61735fe804913e55db45ae4d533c8980c2e6a (diff) |
Silence external/boost deprecated std::iterator warnings with MSVC 2017
At least cl version 19.14.26433 generates such warning C4996 now. While the one
about the using declaration in boost/iterator.hpp looks somewhat bogus, the one
in boost/circular_buffer/details.hpp is about an actual use of std::iterator as
a base class in Boost-internal code. If further such places in external/boost
crop up that need fixing, an alternative approach could be to extend the
external/boost/include/ wrappers to be also used with MSVC. (Globally setting
_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING has avoided, as it also
finds uses in our own code that should be fixed, like
58222feb7fee0c08fb54b9ee29f8f0674c5cf508 "warning STL4015: std::iterator is
deprecated (clang-cl)".)
Change-Id: I6a41421a590fcee57b4ac8bcb7c3631fdfdecb81
Reviewed-on: https://gerrit.libreoffice.org/58755
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/inc')
0 files changed, 0 insertions, 0 deletions