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

--- Comment #8 from Stephan Bergmann <sberg...@redhat.com> ---
(In reply to comment #7)
> I just dug throught he commit log for glib =) I'd be inclined to simply
> re-use G_LIKELY and G_UNLIKELY with a SAL prefix myself.

That _G_BOOLEAN_EXPR trick would work.  An alternative would be to restrict
this to C++ and instead stick an explicit conversion to bool into the
__builtin_expect call.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to