From owner-freebsd-questions Wed Dec 11 13:31:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CDB437B401 for ; Wed, 11 Dec 2002 13:31:14 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-104-228.dsl.lsan03.pacbell.net [64.169.104.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BFFD43EB2 for ; Wed, 11 Dec 2002 13:31:13 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 629CA66E54; Wed, 11 Dec 2002 13:31:12 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 8EB4113AC; Wed, 11 Dec 2002 13:31:11 -0800 (PST) Date: Wed, 11 Dec 2002 13:31:11 -0800 From: Kris Kennaway To: Nick Jennings Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problems 'make'ing ports Message-ID: <20021211213111.GA83910@rot13.obsecurity.org> References: <20021016210118.D12841@namodn.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20021016210118.D12841@namodn.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 16, 2002 at 09:01:18PM -0700, Nick Jennings wrote: > When I build ports I often get really lame errors like > 'Unknown character /' in some source file. What it turns out to be > is a comment, like: >=20 > // This is a comment. > CFLAGS=3D -O -pipe -Wall -ansi -ansi means "enforce ANSI C compliance". '//' is not a legal ANSI C construct. Just remove it from CFLAGS. Kris --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9966fWry0BWjoQKURAnEPAKCh+XpK18/ID7G07VtM/lPOlaMhYwCg6P+d Unfq44ORd581CKTw8+50Ekg= =zrYY -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message