dmlc/parameter_server

Error when make on ubuntu 12.04

DrustZ opened this issue · 0 comments

the message is as follows:
./src/util/resource_usage.h:70:18: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:70:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::Timer::start()’:
./src/util/resource_usage.h:62:18: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::Timer::reset()’:
./src/util/resource_usage.h:64:18: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::stop()’:
./src/util/resource_usage.h:65:19: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:65:32: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::get()’:
./src/util/resource_usage.h:66:25: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: At global scope:
./src/util/resource_usage.h:84:40: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:84:40: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:84:40: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:85:20: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:85:20: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::start()’:
./src/util/resource_usage.h:76:20: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::reset()’:
./src/util/resource_usage.h:78:20: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::stop()’:
./src/util/resource_usage.h:79:21: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:79:39: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::get()’:
./src/util/resource_usage.h:80:27: error: ‘time_’ was not declared in this scope
In file included from ./src/util/filelinereader.h:8:0,
from src/util/filelinereader.cc:1:
./src/util/file.h: At global scope:
./src/util/file.h:79:14: sorry, unimplemented: non-static data member initializers
./src/util/file.h:79:14: error: ‘constexpr’ needed for in-class initialization of static data member ‘f_’ of non-integral type
./src/util/file.h:80:18: sorry, unimplemented: non-static data member initializers
./src/util/file.h:80:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘gz_f_’ of non-integral type
./src/util/file.h:81:17: sorry, unimplemented: non-static data member initializers
./src/util/file.h:81:17: error: ISO C++ forbids in-class initialization of non-const static member ‘is_gz_’
./src/util/file.h: In member function ‘bool PS::File::open() const’:
./src/util/file.h:71:31: error: ‘f_’ was not declared in this scope
./src/util/file.h: In constructor ‘PS::File::File(FILE_, const string&)’:
./src/util/file.h:74:9: error: class ‘PS::File’ does not have any field named ‘f_’
./src/util/file.h: In constructor ‘PS::File::File(gzFile, const string&)’:
./src/util/file.h:76:9: error: class ‘PS::File’ does not have any field named ‘gz_f_’
In file included from ./src/util/common.h:42:0,
from ./src/data/info_parser.h:2,
from src/data/info_parser.cc:1:
./src/util/resource_usage.h:69:38: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:69:38: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:69:38: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:70:18: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:70:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::Timer::start()’:
./src/util/resource_usage.h:62:18: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::Timer::reset()’:
./src/util/resource_usage.h:64:18: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::stop()’:
./src/util/resource_usage.h:65:19: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:65:32: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::get()’:
./src/util/resource_usage.h:66:25: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: At global scope:
./src/util/resource_usage.h:84:40: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:84:40: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:84:40: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:85:20: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:85:20: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::start()’:
./src/util/resource_usage.h:76:20: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::reset()’:
./src/util/resource_usage.h:78:20: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::stop()’:
./src/util/resource_usage.h:79:21: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:79:39: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::get()’:
./src/util/resource_usage.h:80:27: error: ‘time_’ was not declared in this scope
make: ** [build/util/filelinereader.o] Error 1
In file included from ./src/util/common.h:42:0,
from ./src/util/file.h:8,
from src/util/file.cc:1:
./src/util/resource_usage.h:69:38: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:69:38: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:69:38: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp
’ of non-integral type
./src/util/resource_usage.h:70:18: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:70:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::Timer::start()’:
./src/util/resource_usage.h:62:18: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::Timer::reset()’:
./src/util/resource_usage.h:64:18: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::stop()’:
./src/util/resource_usage.h:65:19: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:65:32: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::get()’:
./src/util/resource_usage.h:66:25: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: At global scope:
./src/util/resource_usage.h:84:40: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:84:40: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:84:40: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:85:20: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:85:20: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::start()’:
./src/util/resource_usage.h:76:20: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::reset()’:
./src/util/resource_usage.h:78:20: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::stop()’:
./src/util/resource_usage.h:79:21: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:79:39: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::get()’:
./src/util/resource_usage.h:80:27: error: ‘time_’ was not declared in this scope
make: *** [build/data/text_parser.o] Error 1
In file included from ./src/util/common.h:42:0,
from ./src/util/shared_array.h:3,
from ./src/util/shared_array_inl.h:2,
from ./src/data/slot_reader.h:2,
from src/data/slot_reader.cc:1:
./src/util/resource_usage.h:69:38: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:69:38: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:69:38: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:70:18: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:70:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::Timer::start()’:
./src/util/resource_usage.h:62:18: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::Timer::reset()’:
./src/util/resource_usage.h:64:18: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::stop()’:
./src/util/resource_usage.h:65:19: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:65:32: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::get()’:
./src/util/resource_usage.h:66:25: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: At global scope:
./src/util/resource_usage.h:84:40: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:84:40: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:84:40: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:85:20: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:85:20: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::start()’:
./src/util/resource_usage.h:76:20: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::reset()’:
./src/util/resource_usage.h:78:20: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::stop()’:
./src/util/resource_usage.h:79:21: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:79:39: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::get()’:
./src/util/resource_usage.h:80:27: error: ‘time_’ was not declared in this scope
In file included from src/util/file.cc:1:0:
./src/util/file.h: At global scope:
./src/util/file.h:79:14: sorry, unimplemented: non-static data member initializers
./src/util/file.h:79:14: error: ‘constexpr’ needed for in-class initialization of static data member ‘f_’ of non-integral type
./src/util/file.h:80:18: sorry, unimplemented: non-static data member initializers
./src/util/file.h:80:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘gz_f_’ of non-integral type
./src/util/file.h:81:17: sorry, unimplemented: non-static data member initializers
./src/util/file.h:81:17: error: ISO C++ forbids in-class initialization of non-const static member ‘is_gz_’
./src/util/file.h: In member function ‘bool PS::File::open() const’:
./src/util/file.h:71:31: error: ‘f_’ was not declared in this scope
./src/util/file.h: In constructor ‘PS::File::File(FILE_, const string&)’:
./src/util/file.h:74:9: error: class ‘PS::File’ does not have any field named ‘f_’
./src/util/file.h: In constructor ‘PS::File::File(gzFile, const string&)’:
./src/util/file.h:76:9: error: class ‘PS::File’ does not have any field named ‘gz_f_’
src/util/file.cc: In member function ‘bool PS::File::flush()’:
src/util/file.cc:144:28: error: ‘gz_f_’ was not declared in this scope
src/util/file.cc:144:62: error: ‘f_’ was not declared in this scope
src/util/file.cc: In member function ‘bool PS::File::close()’:
src/util/file.cc:148:31: error: ‘gz_f_’ was not declared in this scope
src/util/file.cc:148:55: error: ‘f_’ was not declared in this scope
src/util/file.cc: In member function ‘size_t PS::File::read(void_, size_t)’:
src/util/file.cc:154:27: error: ‘gz_f_’ was not declared in this scope
src/util/file.cc:154:67: error: ‘f_’ was not declared in this scope
src/util/file.cc: In member function ‘size_t PS::File::write(const void_, size_t)’:
src/util/file.cc:158:28: error: ‘gz_f_’ was not declared in this scope
src/util/file.cc:158:69: error: ‘f_’ was not declared in this scope
src/util/file.cc: In member function ‘char_ PS::File::readLine(char_, uint64)’:
src/util/file.cc:162:27: error: ‘gz_f_’ was not declared in this scope
src/util/file.cc:162:82: error: ‘f_’ was not declared in this scope
src/util/file.cc: In member function ‘bool PS::File::seek(size_t)’:
src/util/file.cc:167:18: error: ‘gz_f_’ was not declared in this scope
src/util/file.cc:168:17: error: ‘f_’ was not declared in this scope
In file included from ./src/util/common.h:42:0,
from ./src/data/common.h:2,
from src/data/common.cc:2:
./src/util/resource_usage.h:69:38: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:69:38: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:69:38: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:70:18: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:70:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::Timer::start()’:
./src/util/resource_usage.h:62:18: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::Timer::reset()’:
./src/util/resource_usage.h:64:18: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::stop()’:
./src/util/resource_usage.h:65:19: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:65:32: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::get()’:
./src/util/resource_usage.h:66:25: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: At global scope:
./src/util/resource_usage.h:84:40: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:84:40: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:84:40: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:85:20: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:85:20: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::start()’:
./src/util/resource_usage.h:76:20: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::reset()’:
./src/util/resource_usage.h:78:20: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::stop()’:
./src/util/resource_usage.h:79:21: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:79:39: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::get()’:
./src/util/resource_usage.h:80:27: error: ‘time_’ was not declared in this scope
In file included from src/data/info_parser.cc:1:0:
./src/data/info_parser.h: At global scope:
./src/data/info_parser.h:19:20: sorry, unimplemented: non-static data member initializers
./src/data/info_parser.h:19:20: error: ISO C++ forbids in-class initialization of non-const static member ‘num_ex_’
In file included from ./src/util/shared_array.h:4:0,
from ./src/util/shared_array_inl.h:2,
from ./src/data/slot_reader.h:2,
from src/data/slot_reader.cc:1:
./src/util/file.h: At global scope:
./src/util/file.h:79:14: sorry, unimplemented: non-static data member initializers
./src/util/file.h:79:14: error: ‘constexpr’ needed for in-class initialization of static data member ‘f_’ of non-integral type
./src/util/file.h:80:18: sorry, unimplemented: non-static data member initializers
./src/util/file.h:80:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘gz_f_’ of non-integral type
./src/util/file.h:81:17: sorry, unimplemented: non-static data member initializers
./src/util/file.h:81:17: error: ISO C++ forbids in-class initialization of non-const static member ‘is_gz_’
./src/util/file.h: In member function ‘bool PS::File::open() const’:
./src/util/file.h:71:31: error: ‘f_’ was not declared in this scope
./src/util/file.h: In constructor ‘PS::File::File(FILE_, const string&)’:
./src/util/file.h:74:9: error: class ‘PS::File’ does not have any field named ‘f_’
./src/util/file.h: In constructor ‘PS::File::File(gzFile, const string&)’:
./src/util/file.h:76:9: error: class ‘PS::File’ does not have any field named ‘gz_f_’
In file included from src/data/common.cc:3:0:
./src/util/file.h: At global scope:
./src/util/file.h:79:14: sorry, unimplemented: non-static data member initializers
./src/util/file.h:79:14: error: ‘constexpr’ needed for in-class initialization of static data member ‘f_’ of non-integral type
./src/util/file.h:80:18: sorry, unimplemented: non-static data member initializers
./src/util/file.h:80:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘gz_f_’ of non-integral type
./src/util/file.h:81:17: sorry, unimplemented: non-static data member initializers
./src/util/file.h:81:17: error: ISO C++ forbids in-class initialization of non-const static member ‘is_gz_’
./src/util/file.h: In member function ‘bool PS::File::open() const’:
./src/util/file.h:71:31: error: ‘f_’ was not declared in this scope
./src/util/file.h: In constructor ‘PS::File::File(FILE_, const string&)’:
./src/util/file.h:74:9: error: class ‘PS::File’ does not have any field named ‘f_’
./src/util/file.h: In constructor ‘PS::File::File(gzFile, const string&)’:
./src/util/file.h:76:9: error: class ‘PS::File’ does not have any field named ‘gz_f_’
In file included from ./src/util/common.h:42:0,
from ./src/system/assigner.h:2,
from src/system/assigner.cc:1:
./src/util/resource_usage.h:69:38: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:69:38: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:69:38: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:70:18: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:70:18: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::Timer::start()’:
./src/util/resource_usage.h:62:18: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::Timer::reset()’:
./src/util/resource_usage.h:64:18: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::stop()’:
./src/util/resource_usage.h:65:19: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:65:32: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::Timer::get()’:
./src/util/resource_usage.h:66:25: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: At global scope:
./src/util/resource_usage.h:84:40: error: ‘std::chrono::system_clock::time_point PS::tic()’ is not ‘constexpr’
./src/util/resource_usage.h:84:40: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:84:40: error: ‘constexpr’ needed for in-class initialization of static data member ‘tp_’ of non-integral type
./src/util/resource_usage.h:85:20: sorry, unimplemented: non-static data member initializers
./src/util/resource_usage.h:85:20: error: ‘constexpr’ needed for in-class initialization of static data member ‘time_’ of non-integral type
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::start()’:
./src/util/resource_usage.h:76:20: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘void PS::MilliTimer::reset()’:
./src/util/resource_usage.h:78:20: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::stop()’:
./src/util/resource_usage.h:79:21: error: ‘time_’ was not declared in this scope
./src/util/resource_usage.h:79:39: error: ‘tp_’ was not declared in this scope
./src/util/resource_usage.h: In member function ‘double PS::MilliTimer::get()’:
./src/util/resource_usage.h:80:27: error: ‘time_’ was not declared in this scope
src/util/file.cc:169:1: warning: control reaches end of non-void function [-Wreturn-type]
src/util/file.cc: In member function ‘char_ PS::File::readLine(char_, uint64)’:
src/util/file.cc:163:1: warning: control reaches end of non-void function [-Wreturn-type]
src/util/file.cc: In member function ‘size_t PS::File::write(const void_, size_t)’:
src/util/file.cc:159:1: warning: control reaches end of non-void function [-Wreturn-type]
src/util/file.cc: In member function ‘size_t PS::File::read(void_, size_t)’:
src/util/file.cc:155:1: warning: control reaches end of non-void function [-Wreturn-type]
src/util/file.cc: In member function ‘bool PS::File::flush()’:
src/util/file.cc:145:1: warning: control reaches end of non-void function [-Wreturn-type]
./src/util/file.h: In member function ‘bool PS::File::open() const’:
./src/util/file.h:71:44: warning: control reaches end of non-void function [-Wreturn-type]
make: ** [build/util/file.o] Error 1
make: *** [build/data/info_parser.o] Error 1
In file included from src/system/assigner.cc:1:0:
./src/system/assigner.h: At global scope:
./src/system/assigner.h:34:22: sorry, unimplemented: non-static data member initializers
./src/system/assigner.h:34:22: error: ISO C++ forbids in-class initialization of non-const static member ‘num_servers

./src/system/assigner.h:35:22: sorry, unimplemented: non-static data member initializers
./src/system/assigner.h:35:22: error: ISO C++ forbids in-class initialization of non-const static member ‘server_rank_’
./src/system/assigner.h:36:22: sorry, unimplemented: non-static data member initializers
./src/system/assigner.h:36:22: error: ISO C++ forbids in-class initialization of non-const static member ‘worker_rank_’
./src/system/assigner.h:56:16: sorry, unimplemented: non-static data member initializers
./src/system/assigner.h:56:16: error: ISO C++ forbids in-class initialization of non-const static member ‘cur_i_’
In file included from ./src/util/shared_array_inl.h:2:0,
from ./src/data/slot_reader.h:2,
from src/data/slot_reader.cc:1:
./src/util/shared_array.h: At global scope:
./src/util/shared_array.h:288:18: sorry, unimplemented: non-static data member initializers
./src/util/shared_array.h:288:18: error: ISO C++ forbids in-class initialization of non-const static member ‘size_’
./src/util/shared_array.h:289:22: sorry, unimplemented: non-static data member initializers
./src/util/shared_array.h:289:22: error: ISO C++ forbids in-class initialization of non-const static member ‘capacity_’
./src/util/shared_array.h:290:14: sorry, unimplemented: non-static data member initializers
./src/util/shared_array.h:291:61: sorry, unimplemented: non-static data member initializers
./src/util/shared_array.h:291:61: error: in-class initialization of static data member ‘ptr_’ of non-literal type
./src/util/shared_array.h: In member function ‘const std::shared_ptr& PS::SArray::pointer() const’:
./src/util/shared_array.h:226:57: error: ‘ptr_’ was not declared in this scope
./src/util/shared_array.h: In member function ‘std::shared_ptr& PS::SArray::pointer()’:
./src/util/shared_array.h:227:45: error: ‘ptr_’ was not declared in this scope
make: *** [build/system/assigner.o] Error 1
make: *** [build/data/common.o] Error 1
In file included from ./src/util/dense_matrix.h:3:0,
from ./src/util/shared_array_inl.h:3,
from ./src/data/slot_reader.h:2,
from src/data/slot_reader.cc:1:
./src/util/matrix.h: At global scope:
./src/util/matrix.h:13:22: error: expected unqualified-id before ‘using’
./src/util/matrix.h:14:22: error: expected unqualified-id before ‘using’
./src/util/matrix.h:15:22: error: expected unqualified-id before ‘using’
./src/util/matrix.h:63:11: error: ‘MatrixPtr’ does not name a type
./src/util/matrix.h:66:11: error: ‘MatrixPtr’ does not name a type
./src/util/matrix.h:69:3: error: ‘MatrixPtr’ does not name a type
./src/util/matrix.h:72:3: error: ‘MatrixPtr’ does not name a type
./src/util/matrix.h:76:11: error: ‘MatrixPtr’ does not name a type
./src/util/matrix.h:79:11: error: ‘MatrixPtr’ does not name a type
./src/util/matrix.h:80:11: error: ‘MatrixPtr’ does not name a type
./src/util/matrix.h: In member function ‘PS::Matrix::EVec PS::Matrix::transTimes(const Eigen::Ref<const Eigen::Matrix<V, -0x00000000000000001, 1> >&) const’:
./src/util/matrix.h:58:18: error: there are no arguments to ‘trans’ that depend on a template parameter, so a declaration of ‘trans’ must be available [-fpermissive]
./src/util/matrix.h:58:18: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from ./src/util/shared_array_inl.h:3:0,
from ./src/data/slot_reader.h:2,
from src/data/slot_reader.cc:1:
./src/util/dense_matrix.h: At global scope:
./src/util/dense_matrix.h:25:11: error: ‘MatrixPtr’ does not name a type
./src/util/dense_matrix.h:28:11: error: ‘MatrixPtr’ does not name a type
./src/util/dense_matrix.h:33:11: error: ‘MatrixPtr’ does not name a type
./src/util/dense_matrix.h:36:11: error: ‘MatrixPtr’ does not name a type
./src/util/dense_matrix.h:44:11: error: ‘MatrixPtr’ does not name a type
./src/util/dense_matrix.h:87:1: error: ‘MatrixPtr’ does not name a type
In file included from ./src/data/slot_reader.h:2:0,
from src/data/slot_reader.cc:1:
./src/util/shared_array_inl.h: In member function ‘void PS::SArray::reset(V_, std::size_t, bool)’:
./src/util/shared_array_inl.h:60:5: error: ‘ptr_’ was not declared in this scope
./src/util/shared_array_inl.h:64:5: error: ‘ptr_’ was not declared in this scope
./src/util/shared_array_inl.h: In member function ‘void PS::SArray::operator=(const PS::SArray&)’:
./src/util/shared_array_inl.h:80:3: error: ‘ptr_’ was not declared in this scope
./src/util/shared_array_inl.h: At global scope:
./src/util/shared_array_inl.h:193:1: error: ‘MatrixPtr’ does not name a type
./src/util/shared_array_inl.h: In member function ‘bool PS::SArray::ReadFromFile(PS::SizeR, const PS::DataConfig&)’:
./src/util/shared_array_inl.h:217:22: error: ‘ptr_’ was not declared in this scope
./src/util/shared_array_inl.h: In member function ‘bool PS::SArray::WriteToFile(PS::SizeR, const string&) const’:
./src/util/shared_array_inl.h:228:23: error: ‘ptr_’ was not declared in this scope
In file included from src/data/slot_reader.cc:3:0:
./src/data/info_parser.h: At global scope:
./src/data/info_parser.h:19:20: sorry, unimplemented: non-static data member initializers
./src/data/info_parser.h:19:20: error: ISO C++ forbids in-class initialization of non-const static member ‘num_ex_’
In file included from src/data/slot_reader.cc:5:0:
./src/util/threadpool.h:44:29: sorry, unimplemented: non-static data member initializers
./src/util/threadpool.h:44:29: error: ISO C++ forbids in-class initialization of non-const static member ‘waiting_to_finish_’
./src/util/threadpool.h:45:19: sorry, unimplemented: non-static data member initializers
./src/util/threadpool.h:45:19: error: ISO C++ forbids in-class initialization of non-const static member ‘started_’
./src/util/shared_array_inl.h: In member function ‘bool PS::SArray::ReadFromFile(PS::SizeR, const PS::DataConfig&) [with V = char, PS::SizeR = PS::Range]’:
./src/util/shared_array_inl.h:218:1: warning: control reaches end of non-void function [-Wreturn-type]
./src/util/file.h: In member function ‘bool PS::File::open() const’:
./src/util/file.h:71:44: warning: control reaches end of non-void function [-Wreturn-type]
./src/util/shared_array_inl.h: In member function ‘bool PS::SArray::WriteToFile(PS::SizeR, const string&) const [with V = char, PS::SizeR = PS::Range, std::string = std::basic_string]’:
./src/util/shared_array_inl.h:230:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *_* [build/data/slot_reader.o] Error 1