GNOME Bugzilla – Bug 303253
More gcc4 issues in 0.8 head plugins
Last modified: 2005-05-14 10:15:44 UTC
Please describe the problem: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -Werror -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -MT libgstvolenv_la-gstvolenv.lo -MD -MP -MF .deps/libgstvolenv_la-gstvolenv.Tpo -c gstvolenv.c -fPIC -DPIC -o .libs/libgstvolenv_la-gstvolenv.o cc1: warnings being treated as errors gstvolenv.c: In function 'gst_volenv_set_property': gstvolenv.c:301: warning: ignoring return value of 'sscanf', declared with attribute warn_unused_result make[3]: *** [libgstvolenv_la-gstvolenv.lo] Error 1 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Forgot to close this one ... 2005-05-06 Tim-Philipp Muller <tim at centricular dot net> * gst/volenv/gstvolenv.c: (gst_volenv_set_property): Check whether string passed as 'controlpoint' property is formatted as expected (checking return value of sscanf() will also make gcc-4 happy). Cheers -Tim