[Bug 763567] New: libcompat.h: strsignal() should be not be decleared const

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Mar 13 15:06:08 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763567

            Bug ID: 763567
           Summary: libcompat.h: strsignal() should be not be decleared
                    const
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: blueness at gentoo.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 323793
  --> https://bugzilla.gnome.org/attachment.cgi?id=323793&action=edit
libcompat.h: strsignal() should be not be decleared const

POSIX standards requires strsignal() to return a pointer to a char, not a const
pointer to a char. [1]  On uClibc, and possibly other libc's, that do not
HAVE_DECL_STRSIGNAL, libcompat.h declares const char *strsignal (int sig) which
causes a type error.

-- 
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