[GRASS5] r.flow: strange compile error M_PI
Brad Douglas
rez at touchofmadness.com
Tue Jun 28 11:00:25 EDT 2005
On Tue, 2005-06-28 at 23:38 +1200, Hamish wrote:
> > Personally, I would just conditionalise the local definitions, e.g.:
> >
> > #ifndef M_PI
> > #define M_PI 3.14159265358979323846
> > #endif
>
> why not go straight to the long?
>
> 3.1415926535897932384626433832795029
> or
> 3.1415926535897932384626433832795029L
>
> (but don't call that M_PI)
That should be called M_PIl.
I like the idea of adding these macros to gis.h, if not sorting it out
with autoconf (still my favored method).
--
Brad Douglas <rez at touchofmadness.com>
More information about the grass-dev
mailing list