[GRASS5] Re: updated r.terraflow compile error

Paul Kelly paul-grass at stjohnspoint.co.uk
Tue Jan 20 18:28:16 EST 2004


On Wed, 21 Jan 2004, Hamish wrote:

> > There should be a variable that tells the gcc version.  Anybody knows
> > how it's called? I could add something like
> > #if version < 3.2.2
> > #include <ostream.h>
> > #else
> > #include <ostream>
>
>
> Yes, but what about compiling on a something that isn't gcc?
>
> Anyone know what Solaris/SGI/Cygwin/MacOSX has?
>

I thought it only compiled with g++ anyway:

http://grass.itc.it/pipermail/grass5/2003-March/007342.html







More information about the grass-dev mailing list