Great, I was looking forward for such a patch.
On Sun, Jan 16, 2011 at 5:03 PM, Jay Sorg <jay.s...@gmail.com> wrote:
> Here is a patch to disable assert() by default and remove all the exit()
> calls.
>
> It turns out, there is a built in mechanism for disabling assert in
> the assert.h header itself.
> You just need to define NDEBUG. I checked on several platforms, they
> all use NDEBUG.
>
> I changed configure.ac to add NDEBUG to CFLAGS if none of the
> --with-debug* options are passed.
>
> NDEBUG disables all asserts including the ones in the asn1 directory,
> the channels directory, everywhere.
>
> plus, I added the configure options
>
> --with-debug-assert - to turn on ASSERT() macro
> --with-debug-stream-assert - to turn on ASSERT_AVAILABLE() macro
>
> of course, these options(like all --with-debug*) cause NDEBUG to NOT be
> defined.
>
> Jay
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Freerdp-devel mailing list
> Freerdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel