From owner-freebsd-ports@FreeBSD.ORG Mon Jul 21 01:13:45 2003 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 33D8A37B401 for ; Mon, 21 Jul 2003 01:13:44 -0700 (PDT) Received: from freebsd.org.ru (www.freebsd.org.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03A4843FA3 for ; Mon, 21 Jul 2003 01:13:44 -0700 (PDT) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id 516E33EE; Mon, 21 Jul 2003 12:13:42 +0400 (MSD) Date: Mon, 21 Jul 2003 12:13:42 +0400 From: "Sergey A. Osokin" To: Simon Barner Message-ID: <20030721081342.GP1413@freebsd.org.ru> References: <20030718025200.GA36893@rot13.obsecurity.org> <20030719030539.GB467@zi025.glhnet.mhn.de> <20030719190500.GA19808@hellblazer.celabo.org> <20030720224840.GA731@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="L1c6L/cjZjI9d0Eq" Content-Disposition: inline In-Reply-To: <20030720224840.GA731@zi025.glhnet.mhn.de> User-Agent: Mutt/1.5.4i cc: ports@FreeBSD.org Subject: Re: Fixing gcc 3.3 compile failures -- fix for math/freefem 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: Mon, 21 Jul 2003 08:13:45 -0000 --L1c6L/cjZjI9d0Eq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 21, 2003 at 12:48:40AM +0200, Simon Barner wrote: > > > - ifstream fin( path ); > > > + std::ifstream fin( path ); >=20 > > A much smaller patch could be produced with > >=20 > > using namespace std; > >=20 > > as appropriate. > >=20 > > Have you checked with the upstream author to see which approach is > > likely to be rolled into the distribution? >=20 > Actually, upgrading the port to the lastest freefem version would have > been enough *doh* :o) (patch attached) >=20 > To answer your question: the freefem authors decided not to use the > 'using namespace std' approach. [patch skipped] Can't compile freefem-3.5.7 with gcc-2.95.4 under RELENG_4, any idea? source=3D'femParser.cpp' object=3D'femParser.lo' libtool=3Dyes depfile=3D'= =2Edeps/femParser.Plo' tmpdepfile=3D'.deps/femParser.TPlo' depmode=3Dgcc /= bin/sh ../../admin/depcomp /bin/sh ../../libtool --mode=3Dcompile c++ -DHA= VE_CONFIG_H -I. -I. -I../.. -Wall -O -pipe -fforce-mem -fforce-addr= -fomit-frame-pointer -I/usr/X11R6/include -c -o femParser.lo `test -f 'fe= mParser.cpp' || echo './'`femParser.cpp rm -f .libs/femParser.lo c++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -O -pipe -fforce-mem -fforce-addr= -fomit-frame-pointer -I/usr/X11R6/include -c femParser.cpp -Wp,-MD,.deps/f= emParser.TPlo -fPIC -DPIC -o .libs/femParser.lo c++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -O -pipe -fforce-mem -fforce-addr= -fomit-frame-pointer -I/usr/X11R6/include -c femParser.cpp -Wp,-MD,.deps/f= emParser.TPlo -o femParser.o >/dev/null 2>&1 *** Error code 1 Stop in /usr/home/osa/src/freefem/work/freefem-3.5.7/freefem/fem. *** Error code 1 --=20 Rgdz, /"\ ASCII RIBBON CAMPAIGN Sergey Osokin aka oZZ, \ / AGAINST HTML MAIL http://ozz.pp.ru/ X AND NEWS / \ --L1c6L/cjZjI9d0Eq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iQCVAwUBPxugto/Va73vhFLNAQG6GAP/cL9kJ//In4hYBWcoSxyKmMk3NzbWNNp4 RA7jl4vHzHfYLV/ARvNzbUXVNjNvqwmr9H+FPSPee4CH1YL8G5zc9rlJ+UI0KXR9 7JA6jgKiC2DxvivG/cWCILLwpi2KnfCdVTmeuMZyH6Pm8+gV+4oVCCoGWPtk9QtC HMN15JndduU= =KxJH -----END PGP SIGNATURE----- --L1c6L/cjZjI9d0Eq--