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

Master fails to build with Visual Studio 2013

    • ALL

      Compiling master fails on Windows with visual studio 2013 while compiling curop_test.exe

      C:\data\mongo\src\mongo/util/net/sock.h(136) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\data\mongo\src\mongo/util/net/sock.h(136) : error C2143: syntax error : missing ';' before '*'
      C:\data\mongo\src\mongo/util/net/sock.h(136) : warning C4183: 'raw': missing return type; assumed to be a member function returning 'int'
      C:\data\mongo\src\mongo/util/net/sock.h(137) : error C2143: syntax error : missing ';' before '*'
      C:\data\mongo\src\mongo/util/net/sock.h(137) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
      C:\data\mongo\src\mongo/util/net/sock.h(137) : warning C4183: 'raw': missing return type; assumed to be a member function returning 'int'
      C:\data\mongo\src\mongo/util/net/sock.h(141) : error C2079: 'mongo::SockAddr::sa' uses undefined struct 'mongo::sockaddr_storage'
      C:\data\mongo\src\mongo/util/net/sock.h(106) : error C2758: 'mongo::SockAddr::sockaddr' : a member of reference type must be initialized
              C:\data\mongo\src\mongo/util/net/sock.h(136) : see declaration of 'mongo::SockAddr::sockaddr'
      C:\data\mongo\src\mongo/util/net/sock.h(109) : error C2228: left of '.ss_family' must have class/struct/union
              type is 'int'
      C:\data\mongo\src\mongo/util/net/sock.h(109) : error C2065: 'AF_UNSPEC' : undeclared identifier
         Creating library build\win32\64\release\mongo\util\version_test.lib and object build\win32\64\release\mongo\util\version_test.exp
      C:\data\mongo\src\mongo/util/net/sock.h(136) : error C2059: syntax error : ')'
      C:\data\mongo\src\mongo/util/net/sock.h(137) : error C2059: syntax error : ')'
      

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: