Comments (3)
one more issue -
daemon/key_state.cc
barfs tons of errors during compile - important ones are
hyperdex::key_state::client_response
method is not marked const
std::push_heap invalid operands to binary expression
change line 100 , add const to end.
// intentionally backwards so the max heap becomes min heap.
bool operator < (const client_response& rhs) const
haven't yet tested the binaries :) but something to consider when building with clang
from hyperdex.
update,
This problem is happening because "partitions" is already defined in
/usr/include/c++/v1/algorithm:
template <class ForwardIterator, class Predicate>
ForwardIterator
partition(ForwardIterator first, ForwardIterator last, Predicate pred);
The compiler is apparently getting confused, or maybe partition should be explicitly referenced anyway?
This fixes the problem:
admin/hyperspace_builder.cc
569: for (size_t i = 0; i < sp.subspaces.size(); ++i)
570: {
571: hyperdex::partition(sp.subspaces[i].attrs.size(), in->partitions, &sp.subspaces[i].regions);
572: }
Should compile on gcc, etc, would have to test.
from hyperdex.
HyperDex compiles on clang 3.7 on FreeBSD 9.x. I didn't test 3.4, but I'm open to any patches to make it work on both.
from hyperdex.
Related Issues (20)
- C API with document operations and Authorization ? HOT 1
- Atomic map ops appear to have relaxed ordering HOT 3
- Hyperdex daemon reports IO errors if data directory is a relative path HOT 1
- Trouble installing hyperdex-client (node) HOT 5
- How well does HyperDex scale with large datasets in multi DCs across the globe ?
- HyperDex Jepsen, Hermitage Tests
- Go admin bindings fail to build
- cityhash/city.cc HOT 1
- HyperDexClientException: reconfiguration affecting virtual_server when putting data
- Publish Java client to maven central
- Python bindings segfault on OS X El Capitan HOT 3
- Error in `python3.5': free(): invalid next size (fast): 0x0000000001712440 HOT 2
- x
- depend on some many other libs HOT 2
- Project still alive? HOT 5
- Anyone actively using Hyperdex? HOT 19
- Bad release dates HOT 1
- replicant cannot be installed on Mac OS X because of daemon deprecation HOT 1
- hacker attack? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperdex.