Date: Wed, 11 Dec 2002 13:31:11 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Nick Jennings <nkj@namodn.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: problems 'make'ing ports Message-ID: <20021211213111.GA83910@rot13.obsecurity.org> In-Reply-To: <20021016210118.D12841@namodn.com> References: <20021016210118.D12841@namodn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021211213111.GA83910>