On Mon, May 16, 2016 at 02:35:28PM +0200, Joerg Bornkessel wrote:

i get following errors on try to compile vdr-plugin-iptv-2.2.1

common.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__,        \

It looks like the macro is trying to catenate the strings in the format:
common.c:61:3: note: in expansion of macro ‘ERROR_IF_RET’
  ERROR_IF_RET(retval < 0, "select()", return retval);

to get the following:

        esyslog("[%s,%d: select(): %s", __FILE__, __LINE__, ...);

Why it does not work, I am not sure. Maybe cpp (the C preprocessor) has been changed in a way that requires the insertion of some white space. Did you try to add spaces around the errstr parameter, like this:

         esyslog("[%s,%d]: " errstr ": %s", __FILE__, __LINE__,        \

Best regards,

        Marko Mäkelä

vdr mailing list

Reply via email to