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

Compiler warnings in async_stream_interface.h

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.4.0-rc3
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-11-21

      The MSVC 2015 compiler produces the following warnings while compiling the ASIO sources:

      E:\workspace\mongo\src\mongo/executor/async_secure_stream.h(49): warning C4373: 'mongo::executor::AsyncSecureStream::connect': virtual function overrides 'mongo::executor::AsyncStreamInterface::connect', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
      E:\workspace\mongo\src\mongo/executor/async_secure_stream.h(49): warning C4373: 'mongo::executor::AsyncSecureStream::connect': virtual function overrides 'mongo::executor::AsyncStreamInterface::connect', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
      E:\workspace\mongo\src\mongo/executor/async_stream_interface.h(54): note: see declaration of 'mongo::executor::AsyncStreamInterface::connect'
      
      E:\workspace\mongo\src\mongo/executor/async_stream_interface.h(54): note: see declaration of 'mongo::executor::AsyncStreamInterface::connect'
      E:\workspace\mongo\src\mongo/executor/async_secure_stream.h(49): warning C4373: 'mongo::executor::AsyncSecureStream::connect': virtual function overrides 'mongo::executor::AsyncStreamInterface::connect', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
      E:\workspace\mongo\src\mongo/executor/async_stream_interface.h(54): note: see declaration of 'mongo::executor::AsyncStreamInterface::connect'
      

      Probably just a matter of typo.

            Assignee:
            matt.cotter Matt Cotter
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: