[Bug 774747] New: gst-plugins-good compile error with gcc 6.2
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Nov 20 13:52:04 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=774747
Bug ID: 774747
Summary: gst-plugins-good compile error with gcc 6.2
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: christophevr at telenet.be
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 340353
--> https://bugzilla.gnome.org/attachment.cgi?id=340353&action=edit
Just initialize size with 0.
With git master there is a compile error with gcc 6.2
Build in cross bitbake enviroment for mipsel32el stb's
Pli5
Host pc ubuntu 16.04 x86_64 target mipsel32el vuduo2 stb.
Compiler gcc/g++ 6.2.
ERROR:
| ../../../git/gst/isomp4/qtdemux.c: In function 'qtdemux_parse_tree':
| ../../../git/gst/isomp4/qtdemux.c:10224:24: error: 'size' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
| offset += size;
| ^~
| ../../../git/gst/isomp4/qtdemux.c:10197:25: note: 'size' was declared here
| guint32 size, tag;
| ^~~~
It can be easely solved with patch I included here.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list