After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 503930 - [cdda] warning: 'eos' may be used uninitialized in this function
[cdda] warning: 'eos' may be used uninitialized in this function
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal blocker
: 0.10.16
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-16 22:22 UTC by Olav Vitters
Modified: 2007-12-17 18:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olav Vitters 2007-12-16 22:22:55 UTC
Building GStreamer for GNOME 2.22 I get the following error:

Making all in cdda
 gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread -I/opt/jhbuild/include/gstreamer-0.10 -I/opt/jhbuild/include/glib-2.0 -I/opt/jhbuild/lib64/glib-2.0/include -I/opt/jhbuild/include/libxml2 -pthread -I/opt/jhbuild/include/gstreamer-0.10 -I/opt/jhbuild/include/glib-2.0 -I/opt/jhbuild/lib64/glib-2.0/include -I/opt/jhbuild/include/libxml2 -Wall -Werror -g -DGST_DISABLE_DEPRECATED -ggdb3 -O2 -MT libgstcdda_0.10_la-gstcddabasesrc.lo -MD -MP -MF .deps/libgstcdda_0.10_la-gstcddabasesrc.Tpo -c gstcddabasesrc.c  -fPIC -DPIC -o .libs/libgstcdda_0.10_la-gstcddabasesrc.o
cc1: warnings being treated as errors
gstcddabasesrc.c: In function 'gst_cdda_base_src_create':
gstcddabasesrc.c:1495: warning: 'eos' may be used uninitialized in this function
make[4]: *** [libgstcdda_0.10_la-gstcddabasesrc.lo] Fout 1

$ gcc --version
gcc (GCC) 4.2.2 20071128 (prerelease) (4.2.2-2mdv2008.1)
Comment 1 Tim-Philipp Müller 2007-12-16 23:53:57 UTC
I've fixed this one in CVS (hopefully), but I've got a feeling there might be more of those than just this one.  Could you run

  $ make ERROR_CFLAGS='' 2>warnings.log

and attach warnings.log?


 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>

        * gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_do_seek),
          (gst_cdda_base_src_handle_track_seek), (gst_cdda_base_src_create):
        * gst-libs/gst/pbutils/install-plugins.c:
          (gst_install_plugins_spawn_child), (gst_install_plugins_supported):
        * gst-libs/gst/pbutils/missing-plugins.c:
          (gst_missing_plugin_message_get_installer_detail),
          (gst_missing_encoder_installer_detail_new):
        * gst-libs/gst/rtsp/gstrtspconnection.c: (gst_rtsp_connection_send):
        * gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_unset):
          Turn a few g_assert_not_reached() into g_return_val_if_reached() to
          avoid compiler warnings (#503930).

Comment 2 Olav Vitters 2007-12-17 18:32:11 UTC
I did not get any other warnings (for GStreamer stuff in jhbuild.. did not test things not in that.. e.g. the -bad stuff). Closing.