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

s2 fails to compile on clang

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.4
    • Affects Version/s: None
    • Component/s: Geo
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: