Zitat
Original von Luzifer
Hallo,
gibt's hier was gegen?
make[1]: Entering directory `/usr/local/src/vdr-1.3.15/PLUGINS/src/yaepg'
g++ -O2 -Wall -Woverloaded-virtual -g -c -DPLUGIN_NAME_I18N='"yaepg"' -D_GNU_SOURCE -I../../../include -I../../../../DVB/include yaepg.c
In file included from yaepg.c:9:
yaepg.h:16: warning: invalid character in macro parameter name
yaepg.h:16: badly punctuated parameter list in `#define'
yaepg.h:17: warning: invalid character in macro parameter name
yaepg.h:17: badly punctuated parameter list in `#define'
make[1]: *** [yaepg.o] Error 1
make[1]: Leaving directory `/usr/local/src/vdr-1.3.15/PLUGINS/src/yaepg'
make: *** [plugins] Error 2
Alles anzeigen
Hello, I don't speak German but I can understand the g++ error messages (I speak c++ :)) . The yaepg debug macros use C99 variable length argument lists. I'm not sure what version of gcc/g++ is required to use C99 features but upgrading gcc/g++ should fix this problem. A simpler solution migth be to do the following:
Delete these lines in the yaepg.h file:
#define YAEPG_ERROR(...) cYaepg::LogMsg(YLOG_ERR, __VA_ARGS__)
#define YAEPG_INFO(...) cYaepg::LogMsg(YLOG_INF, __VA_ARGS__)
And then delete all the lines containing "YAEPG_ERROR" and "YAEPG_INFO" from the yaepg.c file. I haven't actually tried this but it should work. These macros were only used for debugging and they aren't needed for the plugin to work.
bball