[GRASS5] r.sun bug
Eric G. Miller
egm2 at jps.net
Fri Feb 21 10:57:45 EST 2003
On Fri, Feb 21, 2003 at 02:28:05PM +0000, Glynn Clements wrote:
> Paul Kelly wrote:
> > The latest version of r.sun contains the inline keyword in front of 3
> > function definitions in main.c . But as far as I can make out this is a
> > C++ keyword and doesn't work in C. It won't compile on IRIX anyway.
> It works in gcc. Everyone uses gcc, right? ;)
> 2. gcc extensions: gcc has many extensions (e.g. "inline", C++ "//"
> comments, recently C9X), and many of them are enabled by default.
Could add "-ansi" or "-std=iso9899:199409" (include 1994 amendments)
to the CFLAGS for GCC. The "-ansi" flag disables "inline" and "//",
but possibly also a few builtins that we'd want like "bzero" and "index"
(though, those aren't really needed).
echo ">gra.fcw at 2ztr< eryyvZ .T pveR" | rot13 | reverse
More information about the grass-dev