Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-22371

High number of warnings being emitted from phosphor on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 5.0.0
    • phosphor
    • None
    • Untriaged
    • Windows 64-bit
    • Unknown

    Description

      when we're building shared objects we need to add the declspec attribute on all of the template stuff we're using:

       

      c:\jenkins\workspace\memcached-gerrit-master\label\windows\phosphor\include\phosphor\trace_log.h(448) : warning C4251: 'phosphor::TraceLog::thread_names' : class 'std::unordered_map<uint64_t,std::string,std::hash<unsigned __int64>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of class 'phosphor::TraceLog'

       

      See https://support.microsoft.com/en-us/kb/168958

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty