make all
c++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -g -ggdb -O0 -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -std=c++11 -c -DUSE_ZAPCOCKPIT -DUSE_MENUSELECTION -DUSE_MENUORG -DUSE_RESUMERESET -DUSE_NETWORKNAME -DPLUGIN_NAME_I18N='"smarttvweb"' -o responsememblk.o responsememblk.c
responsememblk.c: In member function ‘int cResponseMemBlk::sendMp4Covr()’:
responsememblk.c:456:8: warning: unused variable ‘f’ [-Wunused-variable]
char f[400];
^
responsememblk.c: In member function ‘int cResponseMemBlk::sendDir(stat*)’:
responsememblk.c:746:64: warning: field width specifier ‘*’ expects argument of type ‘int’, but argument 4 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
snprintf(f, sizeof(f), "%*s", 32 - strlen(de->d_name), "");
~~~~~~~~~~~~~~~~~~~~~~~ ^
responsememblk.c: In member function ‘void cResponseMemBlk::sendTimersXml()’:
responsememblk.c:1436:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (uint i =0; i< s_timers.Size(); i++) {
~^~~~~~~~~~~~~~~~~
responsememblk.c: In member function ‘int cResponseMemBlk::sendBmlInstHtml()’:
responsememblk.c:2263:34: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’)
*(mLog->log()) << " Ownhost= " << own_host << endl;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
responsememblk.c:2263:34: note: candidate: operator<<(int, int) <built-in>
responsememblk.c:2263:34: note: no known conversion for argument 2 from ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’ to ‘int’
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39:0,
from log.h:27,
from httpresource.h:31,
from responsememblk.c:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:108:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
operator<<(__ostream_type& (*__pf)(__ostream_type&))
^~~~~~~~
...
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:519:5: note: template argument deduction/substitution failed:
responsememblk.c:2263:37: note: cannot convert ‘own_host’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘unsigned char’
*(mLog->log()) << " Ownhost= " << own_host << endl;
^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39:0,
from log.h:27,
from httpresource.h:31,
from responsememblk.c:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:539:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:539:5: note: template argument deduction/substitution failed:
responsememblk.c:2263:37: note: mismatched types ‘const _CharT*’ and ‘std::__cxx11::basic_stringstream<char>’
*(mLog->log()) << " Ownhost= " << own_host << endl;
^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:693:0,
from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39,
from log.h:27,
from httpresource.h:31,
from responsememblk.c:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/ostream.tcc:321:5: note: candidate: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/ostream.tcc:321:5: note: template argument deduction/substitution failed:
responsememblk.c:2263:37: note: cannot convert ‘own_host’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘const char*’
*(mLog->log()) << " Ownhost= " << own_host << endl;
^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39:0,
from log.h:27,
from httpresource.h:31,
from responsememblk.c:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:556:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:556:5: note: template argument deduction/substitution failed:
responsememblk.c:2263:37: note: cannot convert ‘own_host’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘const char*’
*(mLog->log()) << " Ownhost= " << own_host << endl;
^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39:0,
from log.h:27,
from httpresource.h:31,
from responsememblk.c:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:569:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:569:5: note: template argument deduction/substitution failed:
responsememblk.c:2263:37: note: cannot convert ‘own_host’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘const signed char*’
*(mLog->log()) << " Ownhost= " << own_host << endl;
^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39:0,
from log.h:27,
from httpresource.h:31,
from responsememblk.c:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:574:5: note: candidate: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:574:5: note: template argument deduction/substitution failed:
responsememblk.c:2263:37: note: cannot convert ‘own_host’ (type ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’) to type ‘const unsigned char*’
*(mLog->log()) << " Ownhost= " << own_host << endl;
^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/iostream:39:0,
from log.h:27,
from httpresource.h:31,
from responsememblk.c:24:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:682:5: note: candidate: template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&)
operator<<(_Ostream&& __os, const _Tp& __x)
^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:682:5: note: template argument deduction/substitution failed:
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream: In substitution of ‘template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_ostream<char>&; _Tp = std::__cxx11::basic_stringstream<char>]’:
responsememblk.c:2263:37: required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/ostream:682:5: error: no type named ‘type’ in ‘struct std::enable_if<false, std::basic_ostream<char>&>’
make: *** [Makefile:66: responsememblk.o] Error 1