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.