[Bug 758541] New: gstinfo: Fix ISO non-standard predefined identifier warning for __FUNCTION__ when compiled with gcc 5 -Wpedantic
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Nov 23 06:07:52 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758541
Bug ID: 758541
Summary: gstinfo: Fix ISO non-standard predefined identifier
warning for __FUNCTION__ when compiled with gcc 5
-Wpedantic
Classification: Platform
Product: GStreamer
Version: 1.x
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lukasz.forynski at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 316094
--> https://bugzilla.gnome.org/attachment.cgi?id=316094&action=edit
Patch to address the issue.
gstreamer 1.6.1, when compiled with gcc 5, produces a warning about
non-standard identifier __FUNCTION__ use when used with -Wpedantic (which might
turn into an error if compiled also with -Werror). C99 support is fully enabled
with gcc 5 (without -std=c99 switch), therefore attached patch implements the
first suggested solution as proposed in [1].
--
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