From 92305670da361836321f3354858b0c0758c60ad2 Mon Sep 17 00:00:00 2001 From: Elliott Slaughter Date: Sun, 31 Mar 2024 12:59:51 -0700 Subject: [PATCH] Fix Clang build. --- src/hasher.inl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/hasher.inl b/src/hasher.inl index a682b08..9cda8e9 100644 --- a/src/hasher.inl +++ b/src/hasher.inl @@ -17,7 +17,8 @@ enum HashTypeTag { LONG_LONG_TYPE_ID, INT32_T_TYPE_ID, UINT32_T_TYPE_ID, - INT64_T_TYPE_ID, + // Clang thinks this is the same as long long, so we don't get to have nice things + // INT64_T_TYPE_ID, UINT64_T_TYPE_ID, STD_PAIR_TYPE_ID, STD_VECTOR_TYPE_ID, @@ -81,7 +82,7 @@ private: DECLARE_TYPE_ADAPTER(long long, LONG_LONG_TYPE_ID) DECLARE_TYPE_ADAPTER(int32_t, INT32_T_TYPE_ID) DECLARE_TYPE_ADAPTER(uint32_t, UINT32_T_TYPE_ID) -DECLARE_TYPE_ADAPTER(int64_t, INT64_T_TYPE_ID) +// DECLARE_TYPE_ADAPTER(int64_t, INT64_T_TYPE_ID) DECLARE_TYPE_ADAPTER(uint64_t, UINT64_T_TYPE_ID) DECLARE_TYPE_ADAPTER(Legion::DomainPoint, LEGION_DOMAIN_POINT_TYPE_ID) DECLARE_TYPE_ADAPTER(Legion::Domain, LEGION_DOMAIN_TYPE_ID) @@ -127,7 +128,7 @@ private: DECLARE_SIMPLE_VALUE_ADAPTER(long long) DECLARE_SIMPLE_VALUE_ADAPTER(int32_t) DECLARE_SIMPLE_VALUE_ADAPTER(uint32_t) -DECLARE_SIMPLE_VALUE_ADAPTER(int64_t) +// DECLARE_SIMPLE_VALUE_ADAPTER(int64_t) DECLARE_SIMPLE_VALUE_ADAPTER(uint64_t) #undef DECLARE_SIMPLE_VALUE_ADAPTER