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

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

<snipp>
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
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to