Date: Tue, 22 Oct 2013 08:36:56 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: sbruno@freebsd.org Cc: Bruce Cran <bruce@cran.org.uk>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, Benjamin Kaduk <kaduk@MIT.EDU> Subject: Re: gperf -- #define for if (0) ; else for Message-ID: <20131022063655.GI20973@ithaqua.etoilebsd.net> In-Reply-To: <1382395820.4447.1.camel@localhost> References: <1382327705.2610.9.camel@localhost> <alpine.GSO.1.10.1310210011120.4934@multics.mit.edu> <52650223.2020707@cran.org.uk> <1382395820.4447.1.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--/GPgYEyhnw15BExa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 21, 2013 at 06:50:20PM -0400, Sean Bruno wrote: > 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 al= so=20 > > documents it. Visual C++ 6 was released in 1998, which was=20 > > unfortunately the same year as the first ISO C++ standard. > >=20 >=20 >=20 > Hrm, it looks like gperf is in ports ... should we consider just > removing it from the base system in the first place? >=20 Yes that is the plan :), remember that gperf is a dependency for gcc 4.2, s= o as long as we have gcc 4.2 we need gperf in base, we can probably turn it off depending on the gcc option (but that needs some work on the ports tree.) If you are volunteering at turning of gperf building, please prepare a patch against head, create a PR with [exp-run] in the subject and as portmgr for a exp, best would also be working with someone so that an infrastructure to d= epend on gperf is created in the ports tree (aka a USES=3Dgperf). regards, Bapt --/GPgYEyhnw15BExa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlJmHQcACgkQ8kTtMUmk6EwtBACfSYg32etX1alYBlx0HZjsxu+k gjAAoJ2I5RmD2FIKizuhe6+ReZ2kEkq+ =/AeR -----END PGP SIGNATURE----- --/GPgYEyhnw15BExa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131022063655.GI20973>