From owner-freebsd-hackers@FreeBSD.ORG Sun May 17 12:32:05 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A5691065673 for ; Sun, 17 May 2009 12:32:05 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id A10878FC16 for ; Sun, 17 May 2009 12:32:04 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 17 May 2009 12:32:03 -0000 Received: from p54A3C65F.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.198.95] by mail.gmx.net (mp019) with SMTP; 17 May 2009 14:32:03 +0200 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX19RWZhcvgRRHfTS/zELeAbjNG05HHM5+9iaLpO4tl 7C5XyUOaQ9gRqK Message-ID: <4A1003C2.8070901@gmx.de> Date: Sun, 17 May 2009 14:32:02 +0200 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.21 (X11/20090412) MIME-Version: 1.0 To: Stanislav Sedov References: <49F4070C.2000108@gmx.de> <20090501112239.GA23199@alchemy.franken.de> <49FADEF3.5010106@gmx.de> <20090501.082020.698246310.imp@bsdimp.com> <20090517145331.fda0f91f.stas@FreeBSD.org> In-Reply-To: <20090517145331.fda0f91f.stas@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 Cc: sobomax@freebsd.org, freebsd-hackers@freebsd.org, rdivacky@freebsd.org, ed@freebsd.org, marius@alchemy.franken.de Subject: Re: C99: Suggestions for style(9) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 12:32:05 -0000 Stanislav Sedov schrieb: > On Fri, 01 May 2009 08:20:20 -0600 (MDT) > "M. Warner Losh" 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. No, you cannot. Function like macros with ellipsis ("variadic macros") cannot be treated as object like macros. See ISO/IEC 9899:1999 (E) §6.10.3:4. Christoph