[GRASS5] r.sun bug
paul-grass at stjohnspoint.co.uk
Wed Feb 26 08:17:08 EST 2003
On Wed, 26 Feb 2003, Markus Neteler wrote:
> > CFLAGS='-g -ansi -D_BSD_SOURCE=1 -D_SVID_SOURCE=1 -D_POSIX_SOURCE=1 -D_POSIX_C_SOURCE=199506L'
> > 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