GNOME Bugzilla – Bug 503417
Build failure due uninitialized variable in function 'gst_bin_find_unconnected_pad'
Last modified: 2007-12-13 14:01:01 UTC
gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_MAJORMINOR=\"0.10\" -DGST_DISABLE_DEPRECATED -I/usr/include/valgrind -I../libs -I.. -I.. -pthread -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/libxml2 -Wall -Werror -g -DGST_DISABLE_DEPRECATED -g -O2 -MT libgstreamer_0.10_la-gstutils.lo -MD -MP -MF .deps/libgstreamer_0.10_la-gstutils.Tpo -c gstutils.c -fPIC -DPIC -o .libs/libgstreamer_0.10_la-gstutils.o cc1: warnings being treated as errors gstutils.c: In function 'gst_bin_find_unconnected_pad': gstutils.c:3081: warning: 'iter' may be used uninitialized in this function make[4]: *** [libgstreamer_0.10_la-gstutils.lo] Error 1 make[4]: Leaving directory `/home/luca/svn/gnome2/gstreamer/gst' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/luca/svn/gnome2/gstreamer/gst' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/luca/svn/gnome2/gstreamer/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/luca/svn/gnome2/gstreamer' make: *** [all] Error 2
Should be fixed in CVS now (if not, please re-open): 2007-12-13 Tim-Philipp Müller <tim at centricular dot net> * gst/gstutils.c: (element_find_unconnected_pad): Fix possible compiler warning (#503417). (If you encounter any further warnings, please do make ERROR_CFLAGS='' 2>warnings.log and post the log so we can fix them all at once)