gperf -- #define for if (0) ; else for
Sean Bruno
sean_bruno at yahoo.com
Mon Oct 21 22:53:02 UTC 2013
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
> > old versions of Visual Studio.
>
> http://msdn.microsoft.com/en-us/library/b80153d8%28v=vs.90%29.aspx also
> documents it. Visual C++ 6 was released in 1998, which was
> unfortunately the same year as the first ISO C++ standard.
>
Hrm, it looks like gperf is in ports ... should we consider just
removing it from the base system in the first place?
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20131021/ad7ddcad/attachment.sig>
More information about the freebsd-hackers
mailing list