[Fwd: Re: [GRASS5] ISO C90 does not support `long long']

Glynn Clements glynn at gclements.plus.com
Wed Feb 1 08:50:22 EST 2006

Brad Douglas wrote:

> > using the "-pedantic" gcc flag, I get this message:
> > 
> > include/grass/dgl/type.h:66: warning: ISO C90 does not support `long long'
> > 
> > How to fix that line?
> It's a pitfall of C90 - any integer type larger than long is not
> supported.  FYI, this also spells doom for large file support, too.
> What minimal coding standards does GRASS conform to?  ANSI C (C89-C90)?
> Unless there is a quick workaround, is there any reason for not
> supporting C99?

It isn't a question of "supporting" C99, it's a question of
"requiring" C99.

We shouldn't require anything other than C89 except where necessary
(e.g. system interfaces).

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list