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

s2 fails to compile on clang

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.4
    • Component/s: Geo
    • Labels:
      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

            Assignee:
            milkie Eric Milkie
            Reporter:
            milkie Eric Milkie
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: