Date: Sat, 19 Jul 2003 14:05:00 -0500 From: "Jacques A. Vidrine" <nectar@FreeBSD.org> To: Simon Barner <barner@in.tum.de> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: Fixing gcc 3.3 compile failures -- fix for math/freefem Message-ID: <20030719190500.GA19808@hellblazer.celabo.org> In-Reply-To: <20030719030539.GB467@zi025.glhnet.mhn.de> References: <20030718025200.GA36893@rot13.obsecurity.org> <20030719030539.GB467@zi025.glhnet.mhn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 19, 2003 at 05:05:39AM +0200, Simon Barner wrote: > --- freefem/fem/femDisk.cpp.orig Sat Jul 19 04:09:32 2003 > +++ freefem/fem/femDisk.cpp Sat Jul 19 04:13:43 2003 > @@ -95,7 +95,7 @@ > char *result = 0; > int dummy; > > - ifstream fin( path ); > + std::ifstream fin( path ); > > if ( fin.fail() ) > { [... 405 lines deleted ...] A much smaller patch could be produced with using namespace std; as appropriate. Have you checked with the upstream author to see which approach is likely to be rolled into the distribution? Cheers, -- Jacques Vidrine . NTT/Verio SME . FreeBSD UNIX . Heimdal nectar@celabo.org . jvidrine@verio.net . nectar@freebsd.org . nectar@kth.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030719190500.GA19808>