Environment info
Operating System: Centos 6.5
cmake version 3.8.2
Error Message:
$ make -j4
[ 3%] Building CXX object CMakeFiles/lightgbm.dir/src/application/application.cpp.o
[ 3%] Building CXX object CMakeFiles/lightgbm.dir/src/main.cpp.o
[ 5%] Building CXX object CMakeFiles/_lightgbm.dir/src/c_api.cpp.o
[ 7%] Building CXX object CMakeFiles/_lightgbm.dir/src/lightgbm_R.cpp.o
In file included from /data/kai.zhang/LightGBM/include/LightGBM/utils/common.h:4:0,
from /data/kai.zhang/LightGBM/include/LightGBM/config.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:5,
from /data/kai.zhang/LightGBM/src/main.cpp:2:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h: In static member function ‘static LightGBM::LogLevel& LightGBM::Log::GetLevel()’:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:40: error: ‘thread_local’ does not name a type
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:93: error: ‘level’ was not declared in this scope
In file included from /data/kai.zhang/LightGBM/include/LightGBM/utils/common.h:4:0,
from /data/kai.zhang/LightGBM/include/LightGBM/config.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:5,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h: In static member function ‘static LightGBM::LogLevel& LightGBM::Log::GetLevel()’:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:40: error: ‘thread_local’ does not name a type
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:93: error: ‘level’ was not declared in this scope
In file included from /data/kai.zhang/LightGBM/include/LightGBM/utils/openmp_wrapper.h:11:0,
from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:7:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h: In static member function ‘static LightGBM::LogLevel& LightGBM::Log::GetLevel()’:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:40: error: ‘thread_local’ does not name a type
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:93: error: ‘level’ was not declared in this scope
In file included from /data/kai.zhang/LightGBM/include/LightGBM/utils/openmp_wrapper.h:11:0,
from /data/kai.zhang/LightGBM/src/c_api.cpp:1:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h: In static member function ‘static LightGBM::LogLevel& LightGBM::Log::GetLevel()’:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:40: error: ‘thread_local’ does not name a type
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:93: error: ‘level’ was not declared in this scope
In file included from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:11:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:2:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:11:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:2:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:11:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:147:39: error: no matching function for call to ‘std::vector<std::basic_string >::emplace_back(const char*&, size_t&) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:147:39: note: candidate is:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/vector:70:0,
from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char*&, long unsigned int&}; _Tp = std::basic_string; _Alloc = std::allocator<std::basic_string >]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: no known conversion for implicit ‘this’ parameter from ‘const std::vector<std::basic_string >’ to ‘std::vector<std::basic_string >’
In file included from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:11:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:181:54: error: no matching function for call to ‘std::vector<std::basic_string >::emplace_back(const char*&, size_t&) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:181:54: note: candidate is:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/vector:70:0,
from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char*&, long unsigned int&}; _Tp = std::basic_string; _Alloc = std::allocator<std::basic_string >]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: no known conversion for implicit ‘this’ parameter from ‘const std::vector<std::basic_string >’ to ‘std::vector<std::basic_string >’
In file included from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:11:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:2:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/src/lightgbm_R.cpp:11:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:238: confused by earlier errors, bailing out
In file included from /data/kai.zhang/LightGBM/src/c_api.cpp:6:0:
/data/kai.zhang/LightGBM/include/LightGBM/c_api.h: In function ‘char* LastErrorMsg()’:
/data/kai.zhang/LightGBM/include/LightGBM/c_api.h:728:38: error: ‘thread_local’ does not name a type
/data/kai.zhang/LightGBM/include/LightGBM/c_api.h:728:100: error: ‘err_msg’ was not declared in this scope
In file included from /data/kai.zhang/LightGBM/include/LightGBM/dataset.h:5:0,
from /data/kai.zhang/LightGBM/include/LightGBM/dataset_loader.h:4,
from /data/kai.zhang/LightGBM/src/c_api.cpp:7:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/stdexcept:40,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/openmp_wrapper.h:7,
from /data/kai.zhang/LightGBM/src/c_api.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/include/LightGBM/dataset.h:5:0,
from /data/kai.zhang/LightGBM/include/LightGBM/dataset_loader.h:4,
from /data/kai.zhang/LightGBM/src/c_api.cpp:7:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/stdexcept:40,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/openmp_wrapper.h:7,
from /data/kai.zhang/LightGBM/src/c_api.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/include/LightGBM/dataset.h:5:0,
from /data/kai.zhang/LightGBM/include/LightGBM/dataset_loader.h:4,
from /data/kai.zhang/LightGBM/src/c_api.cpp:7:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:147:39: error: no matching function for call to ‘std::vector<std::basic_string >::emplace_back(const char*&, size_t&) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:147:39: note: candidate is:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/vector:70:0,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/openmp_wrapper.h:9,
from /data/kai.zhang/LightGBM/src/c_api.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char*&, long unsigned int&}; _Tp = std::basic_string; _Alloc = std::allocator<std::basic_string >]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: no known conversion for implicit ‘this’ parameter from ‘const std::vector<std::basic_string >’ to ‘std::vector<std::basic_string >’
In file included from /data/kai.zhang/LightGBM/include/LightGBM/dataset.h:5:0,
from /data/kai.zhang/LightGBM/include/LightGBM/dataset_loader.h:4,
from /data/kai.zhang/LightGBM/src/c_api.cpp:7:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:181:54: error: no matching function for call to ‘std::vector<std::basic_string >::emplace_back(const char*&, size_t&) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:181:54: note: candidate is:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/vector:70:0,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/openmp_wrapper.h:9,
from /data/kai.zhang/LightGBM/src/c_api.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char*&, long unsigned int&}; _Tp = std::basic_string; _Alloc = std::allocator<std::basic_string >]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: no known conversion for implicit ‘this’ parameter from ‘const std::vector<std::basic_string >’ to ‘std::vector<std::basic_string >’
In file included from /data/kai.zhang/LightGBM/include/LightGBM/dataset.h:5:0,
from /data/kai.zhang/LightGBM/include/LightGBM/dataset_loader.h:4,
from /data/kai.zhang/LightGBM/src/c_api.cpp:7:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/stdexcept:40,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/openmp_wrapper.h:7,
from /data/kai.zhang/LightGBM/src/c_api.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/include/LightGBM/dataset.h:5:0,
from /data/kai.zhang/LightGBM/include/LightGBM/dataset_loader.h:4,
from /data/kai.zhang/LightGBM/src/c_api.cpp:7:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:238: confused by earlier errors, bailing out
In file included from /data/kai.zhang/LightGBM/src/application/application.cpp:4:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/locale_classes.h:42,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/ios_base.h:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ios:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ostream:40,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/iostream:40,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/common.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/config.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:5,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/src/application/application.cpp:4:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/locale_classes.h:42,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/ios_base.h:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ios:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ostream:40,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/iostream:40,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/common.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/config.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:5,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/src/application/application.cpp:4:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:147:39: error: no matching function for call to ‘std::vector<std::basic_string >::emplace_back(const char*&, size_t&) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:147:39: note: candidate is:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/vector:70:0,
from /data/kai.zhang/LightGBM/include/LightGBM/meta.h:7,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:4,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char*&, long unsigned int&}; _Tp = std::basic_string; _Alloc = std::allocator<std::basic_string >]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: no known conversion for implicit ‘this’ parameter from ‘const std::vector<std::basic_string >’ to ‘std::vector<std::basic_string >’
In file included from /data/kai.zhang/LightGBM/src/application/application.cpp:4:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:181:54: error: no matching function for call to ‘std::vector<std::basic_string >::emplace_back(const char*&, size_t&) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:181:54: note: candidate is:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/vector:70:0,
from /data/kai.zhang/LightGBM/include/LightGBM/meta.h:7,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:4,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char*&, long unsigned int&}; _Tp = std::basic_string; _Alloc = std::allocator<std::basic_string >]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/vector.tcc:92:7: note: no known conversion for implicit ‘this’ parameter from ‘const std::vector<std::basic_string >’ to ‘std::vector<std::basic_string >’
In file included from /data/kai.zhang/LightGBM/src/application/application.cpp:4:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/locale_classes.h:42,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/ios_base.h:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ios:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ostream:40,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/iostream:40,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/common.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/config.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:5,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/src/application/application.cpp:4:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:236:66: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:238: confused by earlier errors, bailing out
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-ignored-attributes" [enabled by default]
make[2]: *** [CMakeFiles/lightgbm.dir/src/main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 9%] Building CXX object CMakeFiles/_lightgbm.dir/src/application/application.cpp.o
In file included from /data/kai.zhang/LightGBM/include/LightGBM/utils/common.h:4:0,
from /data/kai.zhang/LightGBM/include/LightGBM/config.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:5,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h: In static member function ‘static LightGBM::LogLevel& LightGBM::Log::GetLevel()’:
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:40: error: ‘thread_local’ does not name a type
/data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:98:93: error: ‘level’ was not declared in this scope
Preprocessed source stored into /tmp/ccLLz4Ov.out file, please attach this to your bugreport.
make[2]: *** [CMakeFiles/_lightgbm.dir/src/lightgbm_R.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /data/kai.zhang/LightGBM/src/application/application.cpp:4:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h: In lambda function:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/locale_classes.h:42,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/ios_base.h:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ios:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ostream:40,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/iostream:40,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/common.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/config.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:5,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template std::basic_string& std::basic_string::append(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1041:9: note: template argument deduction/substitution failed:
In file included from /data/kai.zhang/LightGBM/src/application/application.cpp:4:0:
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:107:66: note: deduced conflicting types for parameter ‘_InputIterator’ (‘const char*’ and ‘long unsigned int’)
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: error: no matching function for call to ‘std::basic_string::append(const char*, size_t) const’
/data/kai.zhang/LightGBM/include/LightGBM/utils/text_reader.h:126:69: note: candidates are:
In file included from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/string:54:0,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/locale_classes.h:42,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/ios_base.h:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ios:43,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/ostream:40,
from /opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/iostream:40,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/log.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/utils/common.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/config.h:4,
from /data/kai.zhang/LightGBM/include/LightGBM/application.h:5,
from /data/kai.zhang/LightGBM/src/application/application.cpp:1:
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:970:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const std::basic_string<_CharT, _Traits, _Alloc>&, std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:986:7: note: candidate expects 3 arguments, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:995:7: note: no known conversion for implicit ‘this’ parameter from ‘const string* {aka const std::basic_string}’ to ‘std::basic_string’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1003:7: note: candidate expects 1 argument, 2 provided
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::basic_string<_CharT, _Traits, _Alloc>::size_type, _CharT) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1018:7: note: no known conversion for argument 1 from ‘const char*’ to ‘std::basic_string::size_type {aka long unsigned int}’
/opt/centos/devtoolset-1.1/root/usr/lib/gcc/x86_64-redhat-linux/4.7.2/../../../../include/c++/4.7.2/bits/basic_string.h:1027:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::append(std::initializer_list<_CharT>) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator