[Bug 797204] compile error since 00f5fe9ccf
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Sep 25 22:29:22 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=797204
--- Comment #1 from U. Artie Eoff <ullysses.a.eoff at intel.com> ---
y4mreader.c: In function 'parse_int':
y4mreader.c:44:11: error: implicit declaration of function 'strtol'; did you
mean 'g_strtod'? [-Werror=implicit-function-declaration]
value = strtol (str, NULL, 0);
^~~~~~
g_strtod
y4mreader.c:44:11: error: nested extern declaration of 'strtol'
[-Werror=nested-externs]
y4mreader.c: In function 'parse_header':
y4mreader.c:63:3: error: implicit declaration of function 'memset'
[-Werror=implicit-function-declaration]
memset (header, 0, BUFSIZ);
^~~~~~
y4mreader.c:63:3: error: incompatible implicit declaration of built-in function
'memset' [-Werror]
y4mreader.c:63:3: note: include '<string.h>' or provide a declaration of
'memset'
y4mreader.c:68:7: error: implicit declaration of function 'memcmp'
[-Werror=implicit-function-declaration]
if (memcmp (header, "YUV4MPEG2", 9) != 0)
^~~~~~
y4mreader.c:97:15: error: implicit declaration of function 'strncmp'
[-Werror=implicit-function-declaration]
if (strncmp (str, "420", 3) != 0) {
^~~~~~~
y4mreader.c: In function 'skip_frame_header':
y4mreader.c:191:3: error: incompatible implicit declaration of built-in
function 'memset' [-Werror]
memset (header, 0, BUFSIZ);
^~~~~~
y4mreader.c:191:3: note: include '<string.h>' or provide a declaration of
'memset'
cc1: all warnings being treated as errors
make[3]: *** [Makefile:977: simple_encoder-y4mreader.o] Error 1
make[3]: Leaving directory '/opt/media/build/gstreamer-vaapi/tests'
make[2]: *** [Makefile:1157: all-recursive] Error 1
make[2]: Leaving directory '/opt/media/build/gstreamer-vaapi/tests'
make[1]: *** [Makefile:541: all-recursive] Error 1
make[1]: Leaving directory '/opt/media/build/gstreamer-vaapi'
make: *** [Makefile:473: all] Error 2
--
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