On 16.02.2011 17:20, Michael Sweet wrote: > 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.
Okay, so we can add it, and we had it before (directly in jerror.c). In this case I vote for changing jconfig.h. I can do that later tonight if nobody else wants to do it... Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
