> Date: Mon, 11 Dec 2006 13:25:13 +0100 > From: Francesco Potorti` <[EMAIL PROTECTED]> > Cc: [email protected] > > >> /home/pot/gnu/emacs-22.0.91/src/prefix-args.c: In function 'main': > >> /home/pot/gnu/emacs-22.0.91/src/prefix-args.c:64: warning: incompatible > >> implicit declaration of built-in function 'exit' > >> /home/pot/gnu/emacs-22.0.91/src/prefix-args.c:73: warning: incompatible > >> implicit declaration of built-in function 'exit' > > > >Do these warnings go away if you #include <stdlib.h> in prefix-args.c? > > Yes, they go away. I had not tried that myself because apparently > prefix-args.c was written to be compilable on everything, even when > stdlib.h is not there, but times are changing, so I think your change is > the way to go.
I installed a change that includes stdlib.h only if STDC_HEADERS is defined in config.h. I think this should be safe on all platforms. Thanks for reporting this and for testing the fix. _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
