[MPlayer-users] error: invalid conversion from 'void*' to 'demux_packet_t*'
kuh3h3 paulanskaya
kuh3h3 at gmail.com
Sat Feb 27 02:34:02 CET 2010
recent svn mplayer maybe some error?
cc -Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -W -Wall -O2 -march=native
-mtune=native -pipe -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -D__STDC_LIMIT_MACROS -Ilibdvdread4 -I. -D_REENTRANT
-I/usr/include/directfb -I/usr/include/ -I/usr/include/kde/artsc -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT
-I/usr/include/freetype2 -I/usr/include/bs2b
-DHAVE_STRUCT_SOCKADDR_STORAGE -I/usr/include/dirac
-I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -D_REENTRANT
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/directfb -I/usr/include/libpng12
-I/usr/lib/live/liveMedia/include
-I/usr/lib/live/UsageEnvironment/include
-I/usr/lib/live/BasicUsageEnvironment/include
-I/usr/lib/live/groupsock/include -c -o libmpdemux/demux_rtp.o
libmpdemux/demux_rtp.cpp
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for
C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is
valid for C/ObjC but not for C++
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but
not for C++
In file included from libmpdemux/demux_rtp.h:29,
from libmpdemux/demux_rtp.cpp:27:
libmpdemux/demuxer.h: In function 'demux_packet_t* new_demux_packet(int)':
libmpdemux/demuxer.h:264: error: invalid conversion from 'void*' to
'demux_packet_t*'
libmpdemux/demuxer.h:275: error: invalid conversion from 'void*' to
'unsigned char*'
libmpdemux/demuxer.h: In function 'void resize_demux_packet(demux_packet_t*,
int)':
libmpdemux/demuxer.h:286: error: invalid conversion from 'void*' to
'unsigned char*'
libmpdemux/demuxer.h: In function 'demux_packet_t*
clone_demux_packet(demux_packet_t*)':
libmpdemux/demuxer.h:301: error: invalid conversion from 'void*' to
'demux_packet_t*'
libmpdemux/demux_rtp.cpp: At global scope:
libmpdemux/demux_rtp.cpp:89: warning: 'typedef' was ignored in this
declaration
make: *** [libmpdemux/demux_rtp.o] error 1
More information about the MPlayer-users
mailing list