Opened 9 years ago

Closed 8 years ago

#1656 closed defect (fixed)

demuxer.h:264: error: invalid conversion from 'void*' to 'demux_packet_t*'

Reported by: kuh3h3@… Owned by: reimar
Priority: very important Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

$ make
./version.sh cc -dumpversion
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 -DSTDC_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

$ svn info
URL: svn://svn.mplayerhq.hu/mplayer/trunk
Repository Root: svn://svn.mplayerhq.hu/mplayer
Repository UUID: b3059339-0415-0410-9bf9-f77b7e298cf2
Revision: 30754
Node Kind: directory
Schedule: normal
Last Changed Author: reimar
Last Changed Rev: 30754
Last Changed Date: 2010-02-27 15:17:14 +0900 (Sat, 27 Feb 2010)

Change History (2)

comment:1 Changed 8 years ago by compn

  • Owner changed from r_togni@… to reimar

comment:2 Changed 8 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

Has been fixed a long time ago.

Note: See TracTickets for help on using tickets.