ipkg install ruby
In file included from src/common/mpls.h:23:0,
from src/common/mm_mpls_multi_file_io.h:20,
from src/input/r_mpeg_ts.cpp:24:
src/common/timecode.h: In member function 'basic_timecode_c<T> basic_timecode_c<T>::abs() const [with T = long long int]':
src/input/r_mpeg_ts.cpp:297:110: instantiated from here
src/common/timecode.h:142:61: error: narrowing conversion of 'std::abs [with _Tp = long long int, typename __gnu_cxx::__enable_if<std::__is_integer<_Tp>::__value, double>::__type = double](this->basic_timecode_c<long long int>::m_timecode)' from '__gnu_cxx::__enable_if<true, double>::__type' to 'long long int' inside { } [-fpermissive]
compilation terminated due to -Wfatal-errors.
141 basic_timecode_c<T> abs() const {
142 // return basic_timecode_c<T>{std::abs(m_timecode), m_valid}; // TO COMMENT
143 return basic_timecode_c<T>{m_timecode < 0 ? m_timecode * -1 : m_timecode, m_valid}; //NEW
144 }
Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.
Als Dankeschön schalten wir deinen Account werbefrei.