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

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

From: Martin Furter <mf_at_rola.ch>
Date: Wed, 18 Jun 2008 19:13:56 +0200 (CEST)

> +#define SVN_ERR_ASSERT(expr) \
> + do { \
> + if (!(expr)) \
> + SVN_ERR(svn_error__internal_err(__FILE__, __LINE__, #expr)); \
> + } while (0)

Shouln't that use APR_STRINGIFY?
       SVN_ERR(svn_error__internal_err(__FILE__, __LINE__,
               APR_STRINGIFY(expr)))

Martin

---------------------------------------------------------------------
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-18 19:14:13 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.