[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [RFC] Replacement for "assert" in the libraries

From: Alan Barrett <apb_at_cequrux.com>
Date: Fri, 13 Jun 2008 19:10:09 +0200

On Fri, 13 Jun 2008, Stefan Kng wrote:
> I disagree: assert should *never* be used, unless it's enclosed in #ifdef
> _DEBUG statements.

The standard C assert() macro already behaves as if it's enclosed in
"#ifndef NDEBUG" wrappers. Why is "#ifdef _DEBUG" better than "#ifndef

--apb (Alan Barrett)

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-13 19:11:34 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.