From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 21 22:53:02 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6BDE5D07 for ; Mon, 21 Oct 2013 22:53:02 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm23-vm4.bullet.mail.gq1.yahoo.com (nm23-vm4.bullet.mail.gq1.yahoo.com [98.136.217.83]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 38D382CF6 for ; Mon, 21 Oct 2013 22:53:01 +0000 (UTC) Received: from [98.137.12.59] by nm23.bullet.mail.gq1.yahoo.com with NNFMP; 21 Oct 2013 22:50:22 -0000 Received: from [98.136.164.71] by tm4.bullet.mail.gq1.yahoo.com with NNFMP; 21 Oct 2013 22:50:22 -0000 Received: from [127.0.0.1] by smtp233.mail.gq1.yahoo.com with NNFMP; 21 Oct 2013 22:50:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1382395822; bh=ZZOhUrdITcngnYerBGfEChISRjwIaf/kwcZMDyOT7R0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=k8ApdgXYd9iAAYwIyc6q5mELWxihyz7iWpoBPNwt1/re2MNynx6EN+X/XkwsQ8ee8XnuGmZtTKYIy1fxrRJ9fSat9UZPbbJ7BfEgTVLYxBeg5YAei6Td4AA3toyzqVlLAqwP9U6hn8bSkTYuRIUVC2qJ6h9rD4m6sEw2ytmswn4= X-Yahoo-Newman-Id: 235955.23168.bm@smtp233.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7MdT_SIVM1kdYLBJ0Yv1PwIImwGbc9aTW3hfyOJ3ezSCZYN yjDVNCp9j_r3h4Cdqfap0XWoWTL_T9bS_0RtTbnkbUkiOwzOISP7tRIxSa8x aGJbfKxPdqcDVl0ZosKHwlrE5qkN143O0PA_H5bXqLMio2FvadcdeYLp_fqX VhmxlHLwFCJUZ490.jJNLP9EItwrveOkVle0zE3MmlsqIkhyoIFCxk7g.7fL A43sZ06gBAsY3MJUkzw61WkOSETfrmlnIl3vfuQ82yydoQWkS7rzGrgY5cj_ tTn1KwRqR0E83l92CU_8likapNeO0ghvsTEpYzCCHJXW87GLxBurWFxJx4Vt DFh7ZTvXg5Yri0bT0GxThRwK.weEgLnpdQ9V8h7Y612IZTmuAbBwAtJgnbSL urfwTFdZUuns_1PkAGycs8caHaLCiZUhhdiEyoJUbfUllA3zXf2QeDt8hV09 DmQmZktzZK9Y4yg2Uc6Ju0q9fAEgKLga9ci4LjEDDAKTqWJ0BIlbr8o26GAS k9wHDdhC7gH3W3djVp0Sg16t6E7kFSDv202XUDa1lSVSh.MJxld0dZ8OzB4G j533d47I6.iDcV6azvfSzgTrcFWBYVk9Tu5KH8JfKIYX4UgMVPav2vJ5JEJd 7dgD6ZFCv5Jb442VU63G16EGiwET2HD_t0BPQ1iabnqz0DzyNt43ZqG39RCp SPDEUZRmpgg-- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.1.3] (sean_bruno@96.47.64.130 with ) by smtp233.mail.gq1.yahoo.com with SMTP; 21 Oct 2013 22:50:22 +0000 UTC Subject: Re: gperf -- #define for if (0) ; else for From: Sean Bruno To: Bruce Cran In-Reply-To: <52650223.2020707@cran.org.uk> References: <1382327705.2610.9.camel@localhost> <52650223.2020707@cran.org.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-BMfSLVO6WJOEvHDsj1vT" Date: Mon, 21 Oct 2013 18:50:20 -0400 Message-ID: <1382395820.4447.1.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: "freebsd-hackers@freebsd.org" , Benjamin Kaduk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 22:53:02 -0000 --=-BMfSLVO6WJOEvHDsj1vT Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Mon, 2013-10-21 at 11:29 +0100, Bruce Cran wrote: > On 10/21/2013 5:13 AM, Benjamin Kaduk wrote: > > > >> 37 > >> 38 /* Assume ISO C++ 'for' scoping rule. */ > >> 39 #define for if (0) ; else for > > > > StackOverflow (!) [1] suggests that they're a workaround for a bug in= =20 > > old versions of Visual Studio. >=20 > http://msdn.microsoft.com/en-us/library/b80153d8%28v=3Dvs.90%29.aspx also= =20 > documents it. Visual C++ 6 was released in 1998, which was=20 > unfortunately the same year as the first ISO C++ standard. >=20 Hrm, it looks like gperf is in ports ... should we consider just removing it from the base system in the first place? sean --=-BMfSLVO6WJOEvHDsj1vT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAABAgAGBQJSZa+sAAoJEBkJRdwI6BaHEpwH/AjmftkdZZkYet9wXT6DYO3w KWnbQ86t14hjwsoNVzoKjbMOkbKKjYTdvogA1SXweCZtC39wY9hPDOqgR7bihkLZ TZFReNAMgw0lwUkqjTp2aGi8aF+3Z/CMjW2sWm1JXnN+ryGWDJ68g7YGYCQhUf9j zBTpvZfBXmkyGVLzFLPSku+8yVpp4swDvP9iSdAhE8LdPmPzu//FcCNLy0C+oNpr VEnGPebQitofv1/9AO79l/0W5JDmj4iyeVLGRLjyg2tM8Db7O+Q9qh2pET3MjbrC NUNUJzIzApxu03B0PFbJulFalAZXFUQPc0FBaPI03t7A6dh3SpXzMq9pOEW/3M4= =/1bW -----END PGP SIGNATURE----- --=-BMfSLVO6WJOEvHDsj1vT--