Ticket #2289 (new defect)

Opened 1 year ago

Last modified 1 year ago

AudioPlayerFactory, GstreamerPlayer, Context & Smil warning [hardy]

Reported by: fvanberckel Assigned to: anonymous
Priority: normal Milestone: 1.4.0-Monrovia
Component: Audio Player Version:
Severity: minor Keywords:
Cc:

Description

g++ -g -O0 -DHAVE_CONFIG_H -pthread -Wall -Wno-long-long -I/usr/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/home/frans/src/campcaster/svn/trunk/campcaster/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/home/frans/src/campcaster/svn/trunk/campcaster/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/home/frans/src/campcaster/svn/trunk/campcaster/usr/include -I./../core/include -I./include -I./tmp -c -o tmp/AudioPlayerFactory.o src/AudioPlayerFactory.cxx

In file included from src/GstreamerPlayContext.h:47,
                 from src/GstreamerPlayer.h:53,
                 from src/AudioPlayerFactory.cxx:37:
src/SmilHandler.h: In member function ‘AnimationDescription* SmilHandler::getNextAnimate(gint64, xmlNode*)’:
src/SmilHandler.h:415: warning: unused variable ‘i’
src/SmilHandler.h:422: warning: unused variable ‘i’
src/GstreamerPlayContext.h: In member function ‘bool GstreamerPlayContext::prepareAnimations()’:
src/GstreamerPlayContext.h:353: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘guint64’
src/GstreamerPlayContext.h:353: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘guint64’
src/GstreamerPlayContext.h:366: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘guint64’
src/GstreamerPlayContext.h:366: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘guint64’
src/GstreamerPlayContext.h: At global scope:
src/GstreamerPlayContext.h:55: warning: ‘gboolean my_bus_callback(GstBus*, GstMessage*, void*)’ declared ‘static’ but never defined

g++ -g -O0 -DHAVE_CONFIG_H -pthread -Wall -Wno-long-long -I/usr/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/home/frans/src/campcaster/svn/trunk/campcaster/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/home/frans/src/campcaster/svn/trunk/campcaster/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/home/frans/src/campcaster/svn/trunk/campcaster/usr/include -I./../core/include -I./include -I./tmp -c -o tmp/GstreamerPlayer.o src/GstreamerPlayer.cxx

In file included from src/GstreamerPlayContext.h:47,
                 from src/GstreamerPlayer.h:53,
                 from src/GstreamerPlayer.cxx:41:
src/SmilHandler.h: In member function ‘AnimationDescription* SmilHandler::getNextAnimate(gint64, xmlNode*)’:
src/SmilHandler.h:415: warning: unused variable ‘i’
src/SmilHandler.h:422: warning: unused variable ‘i’
src/GstreamerPlayContext.h: In member function ‘bool GstreamerPlayContext::prepareAnimations()’:
src/GstreamerPlayContext.h:353: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘guint64’
src/GstreamerPlayContext.h:353: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘guint64’
src/GstreamerPlayContext.h:366: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘guint64’
src/GstreamerPlayContext.h:366: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘guint64’
src/GstreamerPlayer.cxx: In function ‘gboolean my_bus_callback(GstBus*, GstMessage*, void*)’:
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_UNKNOWN’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_WARNING’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_INFO’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_TAG’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_BUFFERING’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_STATE_CHANGED’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_STATE_DIRTY’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_STEP_DONE’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_CLOCK_PROVIDE’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_CLOCK_LOST’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_NEW_CLOCK’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_STRUCTURE_CHANGE’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_STREAM_STATUS’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_APPLICATION’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_ELEMENT’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_SEGMENT_START’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_SEGMENT_DONE’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_DURATION’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_LATENCY’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_ASYNC_START’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_ASYNC_DONE’ not handled in switch
src/GstreamerPlayer.cxx:74: warning: enumeration value ‘GST_MESSAGE_ANY’ not handled in switch
src/GstreamerPlayer.cxx: In member function ‘virtual bool LiveSupport::PlaylistExecutor::GstreamerPlayer::playNextSmil()’:
src/GstreamerPlayer.cxx:304: warning: control reaches end of non-void function
src/GstreamerPlayer.cxx: In function ‘gboolean my_bus_callback(GstBus*, GstMessage*, void*)’:
src/GstreamerPlayer.cxx:102: warning: control reaches end of non-void function

Change History

  05/20/08 20:16:56 changed by fvanberckel

  • summary changed from AudioPlayerFactory, GstreamerPlayer, Context & Smil warning to AudioPlayerFactory, GstreamerPlayer, Context & Smil warning [hardy].

  05/22/08 13:18:13 changed by fvanberckel

  • milestone changed from 1.3.5 to 1.4.0-Monrovia.