Re: Fixing gcc 3.3 compile failures -- fix for math/freefem

From: Simon Barner <barner_at_in.tum.de>
Date: Mon, 21 Jul 2003 00:48:40 +0200
Hi,

> > -    ifstream fin( path );
> > +    std::ifstream fin( path );

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

Actually, upgrading the port to the lastest freefem version would have
been enough *doh* :o) (patch attached)

To answer your question: the freefem authors decided not to use the
'using namespace std' approach.

Cheers,
 Simon

Received on Sun Jul 20 2003 - 13:48:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:15 UTC