You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/ports/misc/xgboost/work/xgboost-0.90-235-gad4a1c73/src/common/timer.cc:47:25: error: no matching conversion for functional-style cast from 'std::__1::chrono::duration<long long, std::__1::ratio<1, 1000000> >::rep' (aka 'long long') to 'xgboost::Integer' (aka 'xgboost::JsonInteger')
j_pair["elapsed"] = Integer(std::chrono::duration_cast<std::chrono::microseconds>(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/misc/xgboost/work/xgboost-0.90-235-gad4a1c73/include/xgboost/json.h:189:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::__1::chrono::duration<long long, std::__1::ratio<1, 1000000> >::rep' (aka 'long long') to 'const xgboost::JsonInteger' for 1st argument
class JsonInteger : public Value {
^
/usr/ports/misc/xgboost/work/xgboost-0.90-235-gad4a1c73/include/xgboost/json.h:189:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::__1::chrono::duration<long long, std::__1::ratio<1, 1000000> >::rep' (aka 'long long') to 'xgboost::JsonInteger' for 1st argument
/usr/ports/misc/xgboost/work/xgboost-0.90-235-gad4a1c73/include/xgboost/json.h:200:3: note: candidate template ignored: requirement 'std::is_same<long long, long>::value' was not satisfied [with IntT = long long]
JsonInteger(IntT value) : Value(ValueKind::Integer), integer_{value} {} // NOLINT
^
clang-8 on FreeBSD
The text was updated successfully, but these errors were encountered:
clang-8 on FreeBSD
The text was updated successfully, but these errors were encountered: