Skip to content

Conversation

@tmaklin
Copy link

@tmaklin tmaklin commented Oct 26, 2023

Compiling mash fails on Red Hat Enterprise Linux 8.6 (Ootpa) because of a missing include in robin_hood.h. See martinus/robin-hood-hashing#125 for the fix upstream in robin-hood-hashing, and #167 in this repository.

Error log:

In file included from src/mash/HashSet.h:13,
                 from src/mash/MinHashHeap.h:6,
                 from src/mash/Sketch.h:17,
                 from src/mash/CommandContain.h:11,
                 from src/mash/CommandContain.cpp:7:
src/mash/robin_hood.h: In member function 'size_t robin_hood::detail::Table<IsFlat, MaxLoadFactor100, Key, T, Hash, KeyEqual>::calcMaxNumElementsAllowed(size_t) const':
src/mash/robin_hood.h:1875:52: error: 'numeric_limits' is not a member of 'std'
 1875 |         if (ROBIN_HOOD_LIKELY(maxElements <= (std::numeric_limits<size_t>::max)() / 100)) {
      |   

@pickettbd
Copy link

I experienced the same problem as #167 on RHEL8 (Biowulf; I didn't have the problem before the upgrade from RHEL7 to 8). I can confirm that this patch #181 fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants