C.Y.M
2006-04-02 07:57:09 UTC
I noticed a few warnings when building softplay from cvs.
make[1]: Entering directory
`/var/local/vdr/vdr-1.3.45-eepg/PLUGINS/src/softplay.cvs'
ccache g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE
-DPLUGIN_NAME_I18N='"softplay"' -I../../../include -I/usr/src/DVB/linux/include
-I/usr/include/ffmpeg/ -I/usr/include/ffmpeg//libavformat
-I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavutil PlayListMenu.c
PlayListMenu.c: In member function `virtual eOSState
cReplayList::ProcessKey(eKeys)':
PlayListMenu.c:242: warning: int format, time_t arg (arg 3)
PlayListMenu.c:242: warning: int format, time_t arg (arg 4)
ccache g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE
-DPLUGIN_NAME_I18N='"softplay"' -I../../../include -I/usr/src/DVB/linux/include
-I/usr/include/ffmpeg/ -I/usr/include/ffmpeg//libavformat
-I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavutil FileIndex.c
FileIndex.c: In member function `void cIndex::ParseM3uExtInf(const char*)':
FileIndex.c:98: warning: char format, different type arg (arg 3)
ccache g++ -g -O2 -Wall -Woverloaded-virtual -shared softplay.o SoftPlayer.o
PlayList.o PlayListMenu.o i18n.o FileIndex.o Receiver.o Setup.o -lavformat
-lavcodec -lz -o libvdr-softplay.so
The attached patch seems to fix the problem.
BR.
make[1]: Entering directory
`/var/local/vdr/vdr-1.3.45-eepg/PLUGINS/src/softplay.cvs'
ccache g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE
-DPLUGIN_NAME_I18N='"softplay"' -I../../../include -I/usr/src/DVB/linux/include
-I/usr/include/ffmpeg/ -I/usr/include/ffmpeg//libavformat
-I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavutil PlayListMenu.c
PlayListMenu.c: In member function `virtual eOSState
cReplayList::ProcessKey(eKeys)':
PlayListMenu.c:242: warning: int format, time_t arg (arg 3)
PlayListMenu.c:242: warning: int format, time_t arg (arg 4)
ccache g++ -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE
-DPLUGIN_NAME_I18N='"softplay"' -I../../../include -I/usr/src/DVB/linux/include
-I/usr/include/ffmpeg/ -I/usr/include/ffmpeg//libavformat
-I/usr/include/ffmpeg//libavcodec -I/usr/include/ffmpeg//libavutil FileIndex.c
FileIndex.c: In member function `void cIndex::ParseM3uExtInf(const char*)':
FileIndex.c:98: warning: char format, different type arg (arg 3)
ccache g++ -g -O2 -Wall -Woverloaded-virtual -shared softplay.o SoftPlayer.o
PlayList.o PlayListMenu.o i18n.o FileIndex.o Receiver.o Setup.o -lavformat
-lavcodec -lz -o libvdr-softplay.so
The attached patch seems to fix the problem.
BR.