Closed bhaller closed 2 years ago
Aha! The user appears to be using an older version of the sources that does not contain my addition of limits.h. So this issue is simple, then: limits.h should be added to robin_hood.h. And I see that it has been added since the version I incorporated; so there is no bug, then. So never mind. Closing.
Hi! I've got a user on Ubuntu 21.10; I am not on that platform myself. The user reports:
These errors seem... strange. Take the first one, "error: ‘numeric_limits’ is not a member of ‘std’". Well, it certainly is. :-> Presumably this is a header problem.
numeric_limits
is defined inlimits.h
. My code includes a copy ofrobin_hood.h
that is marked as version 3.9.0. That version does not includelimits.h
, but I added that include a while back because Fedora 34 needed it, so the include is there. So why would this error occur, then?So, since I am not set up to test on this platform this issue might be a bit useless, but I guess it can be taken to represent two things. (1) The header ought to include
limits.h
since it usesnumeric_limits
, I guess. (2) There might be a weird problem on Ubuntu 21.10 even whenlimits.h
is added. If somebody here has further insight into what is going on here, that would be great. :->