Closed martinkg closed 8 years ago
You must have mistaken something as the iptv plugin doesn't have live.cpp, live.h, or thread.h, that you mentioned about compatibility issues.
oh, yes that's my fault, i ment this error messages: (complete build.log: https://kojipkgs.fedoraproject.org//work/tasks/9574/12889574/build.log)
ommon.c: In function 'int select_single_desc(int, int, bool)': common.h:39:34: error: unable to find string literal operator 'operator""errstr' with 'const char [14]', 'unsigned int' arguments esyslog("[%s,%d]: "errstr": %s", FILE, LINE, \ ^ common.h:47:40: note: in expansion of macro 'ERROR_IF_FUNC'
^~~~~~~~~~~~~
common.c:61:3: note: in expansion of macro 'ERROR_IF_RET'
ERROR_IF_RET(retval < 0, "select()", return retval);
^~~~
Makefile:90: recipe for target 'common.o' failed
make: * [common.o] Error 1
make: * Waiting for unfinished jobs....
Should be fixed now. If not, please, reopen the issue.
the compilation fails with following error message:
In file included from live.cpp:10:0: live.h:36:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr< ServerThread > m_thread;
^ class auto_ptr;
^
~~~ In file included from /usr/include/c++/6.0.0/memory:81:0, from live.h:4, from live.cpp:10: /usr/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here template~~~but then the next error message appears:
In file included from /usr/include/c++/6.0.0/memory:81:0, from live.h:4, from live.cpp:10: /usr/include/c++/6.0.0/bits/unique_ptr.h: In instantiation of 'void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = vdrlive::ServerThread; _Dp = std::default_deletevdrlive::ServerThread; std::unique_ptr<_Tp, Dp>::pointer = vdrlive::ServerThread]': live.cpp:60:35: required from here /usr/include/c++/6.0.0/bits/uniqueptr.h:342:6: error: call of overloaded 'swap(vdrlive::ServerThread&, vdrlive::ServerThread*&)' is ambiguous swap(std::get<0>(_M_t), __p);