[pulseaudio-tickets] [Bug 89515] undefined reference to `PA_CLAMP_UNLIKELY'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 20 13:45:41 PDT 2015


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

--- Comment #2 from Peter Meerwald <pmeerw at pmeerw.net> ---
Created attachment 115931
  --> https://bugs.freedesktop.org/attachment.cgi?id=115931&action=edit
move PA_UNLIKELY() from pulsecore/macro.h to pulse/gccmacro.h

PA_CLAMP_VOLUME() in pulse/volume.h makes use of PA_CLAMP_UNLIKELY(), but
PA_CLAMP_UNLIKELY() is #defined in pulsecore/macro.h, hence to avoidable to
users of libpulse

proposed solution moves PA_CLAMP_UNLIKELY() together with PA_UNLIKELY() to
pulse/gccmacro.h which is public

-- 
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/20150520/fd151133/attachment.html>


More information about the pulseaudio-bugs mailing list