[Bug 770103] gstreamer fails to compile due to strsignal prototype mismatch

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 18 18:10:00 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slomo at coaxion.net
 Attachment #333576|none                        |reviewed
             status|                            |

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Comment on attachment 333576
  --> https://bugzilla.gnome.org/attachment.cgi?id=333576
fix strsignla function prototype to match actual declaration

This reverts another commit:

commit c9da8b0e7f53005ab125e48165dae39fbfee2352
Author: Anthony G. Basile <blueness at gentoo.org>
Date:   Sun Mar 13 11:05:29 2016 -0400

    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.

    [1] man 3 strsignal

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

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