[GRASS5] Re: [GRASSLIST:2373] Re:Re: grass57 compilation error
hamish_nospam at yahoo.com
Wed Jan 28 19:20:14 EST 2004
> > > compiling grass57_exp_2004_01_17 in debian3.0.x woody i get the
> > > following error:
> > > direction.h:46: ostream: No such file or directory
> > The recent updates to r.terraflow introduced a new problem with
> > gcc <= 3.x. What gcc verison do you use?
> my gcc version is:
> gcc version 2.95.4 20011002 (Debian prerelease)
Fixed in CVS, should work for any gcc from 2.95 to 3.3 now.
gcc 2.95 has forward compatible headers for all the other include's[*],
but not ostream.h. So we still get ~four "depreciated" warnings when
compiled with gcc 3.3, but that's better than it not working at all with
[*] i.e. gcc's fault, not any particular linux distro's, AFAICT.
We may have to think of something else if gcc 3.4 drops backwards
by the way, does it *really* only compile with gcc/g++? What's the
More information about the grass-dev