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

Compiler warnings in async_stream_interface.h

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 3.4.0-rc3
    • Networking
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-11-21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: