[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warnings compiling Emacs 22 on amd64
From: |
Eli Zaretskii |
Subject: |
Re: warnings compiling Emacs 22 on amd64 |
Date: |
Sat, 16 Dec 2006 14:47:30 +0200 |
> Date: Mon, 11 Dec 2006 13:25:13 +0100
> From: Francesco Potorti` <address@hidden>
> Cc: address@hidden
>
> >> /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.
- warnings compiling Emacs 22 on amd64, Francesco Potorti`, 2006/12/04
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2006/12/09
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2006/12/09
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2006/12/09
- Re: warnings compiling Emacs 22 on amd64, Francesco Potorti`, 2006/12/11
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2006/12/11
- Re: warnings compiling Emacs 22 on amd64, Stefan Monnier, 2006/12/11
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2006/12/11
- Re: warnings compiling Emacs 22 on amd64, Stefan Monnier, 2006/12/11
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2006/12/12
- Re: warnings compiling Emacs 22 on amd64, Francesco Potorti`, 2006/12/12
- Re: warnings compiling Emacs 22 on amd64, Stefan Monnier, 2006/12/12
- Re: warnings compiling Emacs 22 on amd64, Francesco Potorti`, 2006/12/12