Compiler fails with infinispan-cpp-client/src/hotrod/impl/consistenthash/ConsistentHashFactory.cpp:24:20: error: deleting object of abstract class type ‘infinispan::hotrod::consistenthash::ConsistentHash’ which has non-virtual destructor will cause undefined behaviour [-Werror=delete-non-virtual-dtor]
         delete it->second;

Please make sure you compile without turning off the "warnings are errors" switch.