-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: ‘out_of_range’ is not a member of ‘std’ #4
Comments
Sorry for the delay - I don't have Arch Linux set up, so I can't easily work on this. It builds under Ubuntu 18.04 with GCC 7.5.0, and probably any other recent Ubuntu variant. There must be some implicit header dependencies that I haven't worked out yet. I've just now fixed the one that's causing this issue, but there may be more. Could you pull and try building again? |
All good. I built an Ubuntu 18.04 VM and it compiled and runs well. That has made it progress further on Arch, it now blows up on a bunch of other stuff now
|
I'm possibly using far newer versions of things than intended.
And I'm building on Arch Linux
I just want a GC PSO server for me and my kids lol
In file included from ConsistentHashRing.cc:14: Strings.hh: In member function ‘T StringReader::get(bool)’: Strings.hh:126:18: error: ‘out_of_range’ is not a member of ‘std’ 126 | throw std::out_of_range("end of string"); | ^~~~~~~~~~~~ ConsistentHashRing.cc: In constructor ‘ConstantTimeConsistentHashRing::ConstantTimeConsistentHashRing(const std::vector<ConsistentHashRing::Host>&, uint8_t)’: ConsistentHashRing.cc:109:11: error: ‘runtime_error’ was not declared in this scope 109 | throw runtime_error("too many hosts"); | ^~~~~~~~~~~~~ make: *** [<builtin>: ConsistentHashRing.o] Error 1
If it's easier for me to use a different distro than get this going under arch, just let me know which distro and I'll run that up in a VM
The text was updated successfully, but these errors were encountered: