From owner-freebsd-standards@FreeBSD.ORG Wed Oct 23 14:40:37 2013 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 124916A9 for ; Wed, 23 Oct 2013 14:40:37 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D261324BD for ; Wed, 23 Oct 2013 14:40:36 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id at1so1477429iec.15 for ; Wed, 23 Oct 2013 07:40:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=4og7KLUpscb9WxuVwpbzyEkIHC8QYBH98/Y+W/O+vSs=; b=UdhC7iKRX5YtYiUnLU8ROz4myVdq9mCjNZw5BbgdBAC6oHUEN1Cx5Nb/ios6kFpVwx SVI9l4xw9TS02EC7F436Y/R8LRdT0UKRAe3pEWh3MaB+NnMY9oBO+VbdZwbRh9Dqs3HE 7gBsLBOIQBGBsUEX9auHhMq42qUazPWsc3aSClbzuEOtNSl/UXDT+zZZk39bkGrovpML tgwih9MC2aXxYMT5BpIB88iXFSJ9NVDaTGDRbZcOMP08VOQgXtL3JvZShsccHl8O1hDa GwpDMmW42RngXq4ycm7vqZDZfgheEMnQrOj2tecfeqeRHkpmx5/ey1RB1gMgc08IMRqQ RCgA== X-Gm-Message-State: ALoCoQkLFACrYzQA1vmmyLnOPLbHM5UdA5wMQX0B9p3QIkJdHg6bdIn0NGcpvORaHuUHTGn3ohj9 X-Received: by 10.50.6.99 with SMTP id z3mr999922igz.27.1382539230143; Wed, 23 Oct 2013 07:40:30 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id q6sm8026155igi.0.2013.10.23.07.40.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Oct 2013 07:40:29 -0700 (PDT) Sender: Warner Losh Subject: Re: VLC 2.1.0 Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20131023121237.51e5a79e@kalimero.tijl.coosemans.org> Date: Wed, 23 Oct 2013 08:40:27 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <55D30F7E-4F38-472C-8143-53200D55DFBA@bsdimp.com> References: <20131022152502.61214646@kalimero.tijl.coosemans.org> <20131022174715.59433270@kalimero.tijl.coosemans.org> <20131022212327.GB20055@stack.nl> <20131023121237.51e5a79e@kalimero.tijl.coosemans.org> To: Tijl Coosemans X-Mailer: Apple Mail (2.1085) Cc: multimedia-list freebsd , William Grzybowski , freebsd-standards@FreeBSD.org, Jilles Tjoelker X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 14:40:37 -0000 On Oct 23, 2013, at 4:12 AM, Tijl Coosemans wrote: > I think this patch is way too complex. We just need a real statement = before the } in the unorthodox push/pop macros to make them = syntactically a statement in all contexts... (void)0; does that, as = does do { ...} while(0); In the cases where it would matter the = difference between {} and do { } while(0); can't happen with this macro = because it can't be used in the context of an if statement without {}... Warner