[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: NDEBUG and assert()
From:       Garrett Cooper <yanegomi () gmail ! com>
Date:       2012-09-19 10:23:13
Message-ID: CAGH67wRnCpFAO5H392Lf0mj2_pceeQ4DWA8w+ye_matHj6-PoQ () mail ! gmail ! com
[Download RAW message or body]

On Wed, Sep 19, 2012 at 3:18 AM, Erik Cederstrand <erik@cederstrand.dk> wrote:
> Den 19/09/2012 kl. 11.19 skrev Erik Cederstrand <erik@cederstrand.dk>:
> 
> > The below below patch will let the analyzer reason correctly about the code, and \
> > removes the report mentioned above (and a handful others in ncurses). It doesn't \
> > touch contrib code, but I'm not happy about changing include/assert.h since it's \
> > used so many other places. Any other ideas for how to best solve this?
> 
> An alternative that doesn't touch assert.h but contains a patch to /contrib:

    This should be disabled [in part because it can be properly
enabled with WITH_ASSERT_DEBUG=yes in /etc/src.conf].
Thanks!
-Garrett
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic