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

s2 fails to compile on clang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7.4
    • Geo
    • None

    Description

      After commit 2cbd9f1d77ce6b25e9957d3121fccb521caf848f
      we now pull in libc++ functional_hash.h before s2.h in expression_index.cpp. functional_hash.h declares hash as a struct, but s2.h declares a template specialization of "class hash", which conflicts.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: