[GRASS5] r.sun bug

Paul Kelly paul-grass at stjohnspoint.co.uk
Wed Feb 26 08:17:08 EST 2003

Hello Markus

On Wed, 26 Feb 2003, Markus Neteler wrote:

> >
> > The above CFLAGS setting works, and highlighted the "inline" error in
> > src/raster/r.sun/main.c, as well as the use of C++ comments in
> > src/libes/dbmi/drivers/odbc/globals.h.
> Are there objections to hardcode above CFLAGS in 5.1 to
> force pretty programming?

That is a nice idea but are they not gcc-specific flags? There is already
a hard-coded -Wall in the GRASS 5.1 cflags which causes problems for non-gcc
compilers (for information it should be -fullwarn for the IRIX cc). It probably
shouldn't be too hard to make their inclusion specific to if gcc is detected;
(just I don't know how to do it.)


More information about the grass-dev mailing list