Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2013 18:50:20 -0400
From:      Sean Bruno <sean_bruno@yahoo.com>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Benjamin Kaduk <kaduk@MIT.EDU>
Subject:   Re: gperf -- #define for if (0) ; else for
Message-ID:  <1382395820.4447.1.camel@localhost>
In-Reply-To: <52650223.2020707@cran.org.uk>
References:  <1382327705.2610.9.camel@localhost> <alpine.GSO.1.10.1310210011120.4934@multics.mit.edu> <52650223.2020707@cran.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--




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