g++ -c -Wall -std=c++11 -D_REENTRANT -DHAVE_NETINET_IN_H -I/opt/hypertable/current/include -I/opt/hypertable/current/include/thrift client_test.cc
client_test.cc: In function ‘void test_rename_alter(Hypertable::Thrift::Client*, std::ostream&)’:
client_test.cc:94:11: error: ‘class Hypertable::Thrift::Client’ has no member named ‘alter_table’
client->alter_table(ns, "foo_renamed", str);
^
client_test.cc: In function ‘void test_scan(Hypertable::Thrift::Client*, std::ostream&)’:
client_test.cc:192:16: error: expected primary-expression before ‘const’
foreach_ht(const Hypertable::ThriftGen::Cell &cell, cells)
^
client_test.cc:192:62: error: ‘foreach_ht’ was not declared in this scope
foreach_ht(const Hypertable::ThriftGen::Cell &cell, cells)
^
client_test.cc:210:16: error: expected primary-expression before ‘const’
foreach_ht(const Hypertable::ThriftGen::Cell &cell, cells)
^
client_test.cc:210:62: error: ‘foreach_ht’ was not declared in this scope
foreach_ht(const Hypertable::ThriftGen::Cell &cell, cells)
^
client_test.cc: In function ‘void test_scan_keysonly(Hypertable::Thrift::Client*, std::ostream&)’:
client_test.cc:228:16: error: expected primary-expression before ‘const’
foreach_ht(const Hypertable::ThriftGen::Cell &cell, cells)
^
client_test.cc:228:62: error: ‘foreach_ht’ was not declared in this scope
foreach_ht(const Hypertable::ThriftGen::Cell &cell, cells)
^
client_test.cc: In function ‘void test_schema(Hypertable::Thrift::Client*, std::ostream&)’:
client_test.cc:258:25: error: ‘AccessGroup’ was not declared in this scope
std::map<std::string, AccessGroup>::iterator ag_it = schema.access_groups.begin();
^
client_test.cc:258:36: error: template argument 2 is invalid
std::map<std::string, AccessGroup>::iterator ag_it = schema.access_groups.begin();
^
client_test.cc:258:36: error: template argument 4 is invalid
client_test.cc:258:48: error: expected initializer before ‘ag_it’
std::map<std::string, AccessGroup>::iterator ag_it = schema.access_groups.begin();
^
client_test.cc:260:10: error: ‘ag_it’ was not declared in this scope
while (ag_it != schema.access_groups.end()) {
^
client_test.cc:264:25: error: ‘ColumnFamily’ was not declared in this scope
std::map<std::string, ColumnFamily>::iterator cf_it = schema.column_families.begin();
^
client_test.cc:264:37: error: template argument 2 is invalid
std::map<std::string, ColumnFamily>::iterator cf_it = schema.column_families.begin();
^
client_test.cc:264:37: error: template argument 4 is invalid
client_test.cc:264:49: error: expected initializer before ‘cf_it’
std::map<std::string, ColumnFamily>::iterator cf_it = schema.column_families.begin();
^
client_test.cc:266:10: error: ‘cf_it’ was not declared in this scope
while (cf_it != schema.column_families.end()) {
^
client_test.cc: In function ‘void test_async(Hypertable::Thrift::Client*, std::ostream&)’:
client_test.cc:542:16: error: expected primary-expression before ‘const’
foreach_ht(const Hypertable::ThriftGen::Cell &cell, cells) {
^
client_test.cc:542:62: error: ‘foreach_ht’ was not declared in this scope
foreach_ht(const Hypertable::ThriftGen::Cell &cell, cells) {
^
Makefile:13: recipe for target 'client_test.o' failed
make: *** [client_test.o] Error 1