Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2003 12:13:42 +0400
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        Simon Barner <barner@in.tum.de>
Cc:        ports@FreeBSD.org
Subject:   Re: Fixing gcc 3.3 compile failures -- fix for math/freefem
Message-ID:  <20030721081342.GP1413@freebsd.org.ru>
In-Reply-To: <20030720224840.GA731@zi025.glhnet.mhn.de>
References:  <20030718025200.GA36893@rot13.obsecurity.org> <20030719030539.GB467@zi025.glhnet.mhn.de> <20030719190500.GA19808@hellblazer.celabo.org> <20030720224840.GA731@zi025.glhnet.mhn.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030721081342.GP1413>