From owner-freebsd-current@FreeBSD.ORG Sat Jul 19 12:05:01 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C34437B401; Sat, 19 Jul 2003 12:05:01 -0700 (PDT) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id F157643F3F; Sat, 19 Jul 2003 12:05:00 -0700 (PDT) (envelope-from nectar@celabo.org) Received: by gw.celabo.org (Postfix, from userid 1001) id 8F17554861; Sat, 19 Jul 2003 14:05:00 -0500 (CDT) Date: Sat, 19 Jul 2003 14:05:00 -0500 From: "Jacques A. Vidrine" To: Simon Barner Message-ID: <20030719190500.GA19808@hellblazer.celabo.org> References: <20030718025200.GA36893@rot13.obsecurity.org> <20030719030539.GB467@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030719030539.GB467@zi025.glhnet.mhn.de> X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.4i cc: ports@FreeBSD.org cc: current@FreeBSD.org cc: Kris Kennaway Subject: Re: Fixing gcc 3.3 compile failures -- fix for math/freefem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 19:05:01 -0000 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