From owner-freebsd-ports@FreeBSD.ORG Wed Jan 19 01:28:10 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF60F16A4CE for ; Wed, 19 Jan 2005 01:28:10 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 907C643D41 for ; Wed, 19 Jan 2005 01:28:10 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AF9B351F94; Tue, 18 Jan 2005 17:28:09 -0800 (PST) Date: Tue, 18 Jan 2005 17:28:09 -0800 From: Kris Kennaway To: Charles Swiger Message-ID: <20050119012809.GA62189@xor.obsecurity.org> References: <0C3AB98B-69AD-11D9-B776-003065ABFD92@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: <0C3AB98B-69AD-11D9-B776-003065ABFD92@mac.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org Subject: Re: depends on ...? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 01:28:11 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 18, 2005 at 06:59:53PM -0500, Charles Swiger wrote: > Hi, all-- >=20 > I was trying to update the BZFlag port, only I've run into a problem=20 > which can be condensed down to the following minimal test code: >=20 > 120-ns1% cat foo.cxx > #include > #include >=20 > static int foo =3D 0; >=20 > 121-ns1% c++ -c foo.cxx > In file included from /usr/include/sys/select.h:40, > from foo.cxx:2: > /usr/include/sys/event.h:53: syntax error before `;' > /usr/include/sys/event.h:55: syntax error before `;' > In file included from foo.cxx:2: > /usr/include/sys/select.h:47: syntax error before `;' >=20 > Adding an include for works, so I can patch BZFlag to do=20 > so as well, but I wanted to run this by the peanut gallery and see=20 > whether this is regarded as a problem with the system headers, or a=20 > coding error on the part of the developers. >=20 > [ This was on a 4.11 system, but the BZFlag code compiles on Linux,=20 > Solaris, MacOS X, and Win32, so I'm not going to assume that BZFlag is=20 > doing something wrong, either. ] Coding error ("All The World is Linux"). Kris --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB7bepWry0BWjoQKURAo6QAJwJKhyJCc2VoqC56jsxHu2EJROURQCfUXWA /rrSyRYdQuiSQEl+fxSC0ls= =Pvk2 -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--