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 654887 - compiler warnings fail to build libavformat
compiler warnings fail to build libavformat
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-19 07:36 UTC by Thijs Vermeir
Modified: 2011-08-01 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thijs Vermeir 2011-07-19 07:36:42 UTC
I get this compiler warnings on my system:

CC	libavformat/mxg.o
libavformat/mxg.c: In function ‘mxg_update_cache.isra.0’:
libavformat/mxg.c:115:50: warning: ‘soi_pos’ may be used uninitialized in this function [-Wuninitialized]
CC	libavformat/ncdec.o
CC	libavformat/nsvdec.o
libavformat/nsvdec.c: In function ‘nsv_read_header’:
libavformat/nsvdec.c:509:12: error: variable ‘err’ set but not used [-Werror=unused-but-set-variable]
cc1: some warnings being treated as errors

make[5]: *** [libavformat/nsvdec.o] Error 1
make[5]: Leaving directory `/home/tvermeir/devel/jhbuild_root/gst-ffmpeg/gst-libs/ext/libav'
make[4]: *** [all-local] Error 2
make[4]: Leaving directory `/home/tvermeir/devel/jhbuild_root/gst-ffmpeg/gst-libs/ext'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tvermeir/devel/jhbuild_root/gst-ffmpeg/gst-libs/ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tvermeir/devel/jhbuild_root/gst-ffmpeg/gst-libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tvermeir/devel/jhbuild_root/gst-ffmpeg'
make: *** [all] Error 2
Comment 1 Tim-Philipp Müller 2011-08-01 11:02:40 UTC
Hrm, where does the -Werror come from here? Surely not from GStreamer (since then pretty much nothing under libav would build)
Comment 2 Thijs Vermeir 2011-08-01 11:53:28 UTC
This was indeed comming from my jhbuild configuration file... removed and fixed :-)