[GRASS-dev] [bug #5279] (grass) implicit declaration of exit in
gisinit.c
Request Tracker
grass-bugs at intevation.de
Wed Nov 15 17:16:27 EST 2006
this bug's URL: http://intevation.de/rt/webrt?serial_num=5279
-------------------------------------------------------------------------
Subject: implicit declaration of exit in gisinit.c
Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.3.CVS.20061111
gisinit.c has a warning about:
gisinit.c:40: warning: incompatible implicit declaration of built-in function âexitâ
while it is harmless in a normal build on OSX - it plows thru and succeeds with compiling gisinit.c -
while experimenting with an Xcode project I also get an error about EXIT_FAILURE being undefined.
Adding:
#include <stdlib.h>
to gisinit.c fixes the warning and the error.
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list