Wed, Nov 15 2006
23:16:27
|
|
Request created by guest
|
|
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. |
|
Thu, Nov 16 2006
07:51:22
|
|
Status changed to resolved by mneteler
|
|
Thu, Nov 16 2006
07:51:22
|
|
Mail sent by mneteler
|
|
Fixed:
2006-11-13 06:01 brad
* gisinit.c: - Added stdlib.h
I also fixed it for 6.2.x.
Markus |
|