On Feb 16, 2011, at 2:08 AM, Albrecht Schlosser wrote:
> ...
>> jerror.c: In function `error_exit':
>> jerror.c:78: warning: implicit declaration of function `exit'
> 
> This one looks more serious. It appears because
> 
> #include <stdlib.h>
> 
> is missing, and this is because /our/ new jconfig.h file doesn't
> include the line
> 
> #define HAVE_STDLIB_H 1
> 
> Note that jconfig.h is a _generated_ file, and my locally configured
> jpeg-8c includes this (at least on Windows). Maybe we should add
> it, or are there systems that might not have stdlib.h ?

Any system with C++ will have stdlib.h, which is part of ANSI C.

________________________________________
Michael Sweet, Easy Software Products

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to