Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2009 14:53:31 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        sobomax@freebsd.org, freebsd-hackers@freebsd.org, rdivacky@freebsd.org, ed@freebsd.org, marius@alchemy.franken.de, christoph.mallon@gmx.de
Subject:   Re: C99: Suggestions for style(9)
Message-ID:  <20090517145331.fda0f91f.stas@FreeBSD.org>
In-Reply-To: <20090501.082020.698246310.imp@bsdimp.com>
References:  <49F4070C.2000108@gmx.de> <20090501112239.GA23199@alchemy.franken.de> <49FADEF3.5010106@gmx.de> <20090501.082020.698246310.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 01 May 2009 08:20:20 -0600 (MDT)
"M. Warner Losh" <imp@bsdimp.com> mentioned:
> 
> It is a debugging aid, but one of dubious value for a far more
> fundamental reason:
> 
> 	    return;
> 
> will break any macro.
> 

You can use variadic marcos in this case if the piece of code debugged
uses void returns.

-- 
Stanislav Sedov
ST4096-RIPE

!DSPAM:4a0fec8e994291872371064!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090517145331.fda0f91f.stas>