[pulseaudio-tickets] [Bug 90880] New: builds can fail due to non-portable glibc-specific internal macro usage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 5 16:27:15 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90880

            Bug ID: 90880
           Summary: builds can fail due to non-portable glibc-specific
                    internal macro usage
           Product: PulseAudio
           Version: unspecified
          Hardware: Other
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: core
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: shawn.walker at oracle.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

Created attachment 116329
  --> https://bugs.freedesktop.org/attachment.cgi?id=116329&action=edit
defines __WORDSIZE on platforms that do not define it

src/tests/mult-s16-test.c uses the glibc-specific internal macro __WORDSIZE for
data size testing and should not as it is a non-portable define specific to
glibc.

src/pulsecore/sample-util.h also uses this non-portable define.

A portable option would be preferred to the use of __WORDSIZE, but barring
that, the attached patch at least defines it on platforms where it is not.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150605/24be23bd/attachment.html>


More information about the pulseaudio-bugs mailing list