Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29082

Silence boost internal header deprecation warnings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.7
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2017-05-08

      Description

      These warnings are targeted at other boost developers, not end users.

      CXX build/ninja/mongo/shell/shell_utils_launcher.o
      In file included from src/mongo/shell/shell_utils_launcher.cpp:39:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/stream.hpp:21:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/stream_buffer.hpp:22:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/push.hpp:24:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/resolve.hpp:26:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/is_dereferenceable.hpp:12:
      src/third_party/boost-1.60.0/boost/type_traits/detail/bool_trait_def.hpp:18:10: warning: NOTE: Use of this header (bool_trait_def.hpp) is deprecated [-W#pragma-messages]
      # pragma message("NOTE: Use of this header (bool_trait_def.hpp) is deprecated")
               ^
      In file included from src/mongo/shell/shell_utils_launcher.cpp:39:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/stream.hpp:21:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/stream_buffer.hpp:22:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/push.hpp:24:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/resolve.hpp:26:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/is_dereferenceable.hpp:12:
      In file included from src/third_party/boost-1.60.0/boost/type_traits/detail/bool_trait_def.hpp:21:
      src/third_party/boost-1.60.0/boost/type_traits/detail/template_arity_spec.hpp:13:10: warning: NOTE: Use of this header (template_arity_spec.hpp) is deprecated [-W#pragma-messages]
      # pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
               ^
      In file included from src/mongo/shell/shell_utils_launcher.cpp:39:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/stream.hpp:21:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/stream_buffer.hpp:22:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/streambuf/indirect_streambuf.hpp:31:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/push.hpp:24:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/resolve.hpp:26:
      In file included from src/third_party/boost-1.60.0/boost/iostreams/detail/is_dereferenceable.hpp:13:
      src/third_party/boost-1.60.0/boost/type_traits/detail/template_arity_spec.hpp:13:10: warning: NOTE: Use of this header (template_arity_spec.hpp) is deprecated [-W#pragma-messages]
      # pragma message("NOTE: Use of this header (template_arity_spec.hpp) is deprecated")
               ^
      3 warnings generated.
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: