C99: Suggestions for style(9)

Stanislav Sedov stas at FreeBSD.org
Sun May 17 10:53:04 UTC 2009


On Fri, 01 May 2009 08:20:20 -0600 (MDT)
"M. Warner Losh" <imp at 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!




More information about the freebsd-hackers mailing list