? warning message: ncompatible implicit declaration...
hi,
a program i have compiles fine, but in both OS X 10.4.10 and Fedora 6 i get the following warning:
incompatible implicit declaration of built-in function 'exit'
the only libraries are <stdio.h> and <string.h>.
just wondering if anyone has a clue what this might mean. here's an ex. of code that produces the error:
Code:
if (something)
{
printf("Blah\n");
exit(1);
}
thanks for any help!
p.s: new to C, coming from perl, ruby & javascript (obviously not compiled :-) )