Skip to content

error: ‘out_of_range’ is not a member of ‘std’ #4

Description

@insanemal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions