[Bug 795765] New: [base] Compilation fails on GCC 8.0.1
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed May 2 21:47:27 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795765
Bug ID: 795765
Summary: [base] Compilation fails on GCC 8.0.1
Classification: Platform
Product: GStreamer
Version: git master
OS: Windows
Status: NEW
Severity: major
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: ullysses.a.eoff at intel.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
gstreamer (master) heads/master-0-g98200ddd8dfd
gst-plugins-base (master) heads/master-0-gdbd9ff1cf510
With GCC 8.0.1 (default on recent Fedora 28 release), gst-plugins-base fails to
compile:
video-chroma.c: In function 'video_chroma_up_v2_u16':
video-chroma.c:360:1: error: passing argument 1 to restrict-qualified parameter
aliases with argument 3 [-Werror=restrict]
MAKE_UPSAMPLE_V2 (u16, guint16);
^~~~~~~~~~~~~~~~
video-chroma.c:360:1: error: passing argument 2 to restrict-qualified parameter
aliases with argument 4 [-Werror=restrict]
video-chroma.c: In function 'video_chroma_up_v2_u8':
video-chroma.c:361:1: error: passing argument 1 to restrict-qualified parameter
aliases with argument 3 [-Werror=restrict]
MAKE_UPSAMPLE_V2 (u8, guint8);
^~~~~~~~~~~~~~~~
video-chroma.c:361:1: error: passing argument 2 to restrict-qualified parameter
aliases with argument 4 [-Werror=restrict]
video-chroma.c: In function 'video_chroma_down_h2_u8':
video-chroma.c:365:1: error: passing argument 1 to restrict-qualified parameter
aliases with argument 2 [-Werror=restrict]
MAKE_DOWNSAMPLE_H2_ORC (u8, guint8);
^~~~~~~~~~~~~~~~~~~~~~
video-chroma.c: In function 'video_chroma_down_v2_u16':
video-chroma.c:366:1: error: passing argument 1 to restrict-qualified parameter
aliases with argument 2 [-Werror=restrict]
MAKE_DOWNSAMPLE_V2 (u16, guint16);
^~~~~~~~~~~~~~~~~~
video-chroma.c: In function 'video_chroma_down_v2_u8':
video-chroma.c:367:1: error: passing argument 1 to restrict-qualified parameter
aliases with argument 2 [-Werror=restrict]
MAKE_DOWNSAMPLE_V2 (u8, guint8);
^~~~~~~~~~~~~~~~~~
video-chroma.c: In function 'video_chroma_down_v4_u16':
video-chroma.c:551:1: error: passing argument 1 to restrict-qualified parameter
aliases with argument 2 [-Werror=restrict]
MAKE_DOWNSAMPLE_V4 (u16, guint16);
^~~~~~~~~~~~~~~~~~
video-chroma.c: In function 'video_chroma_down_v4_u8':
video-chroma.c:552:1: error: passing argument 1 to restrict-qualified parameter
aliases with argument 2 [-Werror=restrict]
MAKE_DOWNSAMPLE_V4 (u8, guint8);
^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [Makefile:998: libgstvideo_1.0_la-video-chroma.lo] Error 1
Can workaround with --disable-fatal-warnings.
--
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