[GRASS5] Re: updated r.terraflow compile error

Christopher Fonnesbeck chris at fonnesbeck.org
Tue Jan 20 18:09:31 EST 2004

On Jan 20, 2004, at 6:00 PM, 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?

OSX is gcc; version 3.1 or 3.3 depending on which version of the 
development tools you have installed.


Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

More information about the grass-dev mailing list