[GRASS5] r.sun bug

Markus Neteler neteler at itc.it
Wed Feb 26 06:21:16 EST 2003

On Mon, Feb 24, 2003 at 06:53:25PM +0000, Glynn Clements wrote:
> Unfortunately, "-ansi" also disables all of the feature test macros,
> so you have to re-enable them manually, e.g.
> _BSD_SOURCE and _SVID_SOURCE are sufficient for everything except
> sigaction(), which also requires _POSIX_SOURCE.
> However, using _GNU_SOURCE doesn't work, as sys/ucontext.h (included
> by signal.h) and curses.h both try to define ERR.
> 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?


More information about the grass-dev mailing list