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

Silence boost internal header deprecation warnings

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.7
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • Repl 2017-05-08

      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.
      

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: