[pulseaudio-discuss] asserts active by default

Lennart Poettering lennart at poettering.net
Wed Sep 3 05:58:42 PDT 2008


On Wed, 03.09.08 11:08, rdiezmail-pulseaudio at yahoo.de (rdiezmail-pulseaudio at yahoo.de) wrote:

> I think the main issue with regards to assertions is the lack of
> information. I would add some clear statement along these lines 
> to the build instructions:
> 
> ------8<------8<------8<------8<------8<------
>
> By default, PA is built with assertions turned on. This helps find
> bugs in PA itself and carries a small performance and code size
> penalty.  PA can nevertheless be built without assertions (with
> NDEBUG), they are not needed for normal operation (the standard
> error handling does not rely on assertions either).
>
> ------8<------8<------8<------8<------8<------ 
>
> This way, all the mistrust from perhaps old buggy times would be
> once and for all laid to rest, and that for everybody (including 
> future newcomers):

I am not sure if there really is an "issue" with assertions. However,
the PA web site is a wiki, everyone is welcome to edit it!

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list