emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warnings compiling Emacs 22 on amd64


From: Francesco Potorti`
Subject: Re: warnings compiling Emacs 22 on amd64
Date: Mon, 11 Dec 2006 13:25:13 +0100

>> /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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]