[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: |
Sun, 10 Dec 2006 00:12:29 +0200 |
> Date: Mon, 04 Dec 2006 11:48:15 +0100
> From: Francesco Potorti` <address@hidden>
>
> I get these warnings during compilation on x86_64-unknown-linux-gnu with
> Debian testing with gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
> [...]
> gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -I.
> -I/home/pot/gnu/emacs-22.0.91/src -D_BSD_SOURCE -g -O2 -Wno-pointer-sign
> editfns.c
> editfns.c: In function 'Fuser_uid':
> editfns.c:1317: warning: comparison is always false due to limited range of
> data type
> editfns.c:1317: warning: comparison is always false due to limited range of
> data type
> editfns.c: In function 'Fuser_real_uid':
> editfns.c:1325: warning: comparison is always false due to limited range of
> data type
> editfns.c:1325: warning: comparison is always false due to limited range of
> data type
These and other similar warnings seem all to come from the use of
MOST_POSITIVE_FIXNUM and MOST_NEGATIVE_FIXNUM. Do these warnings go
away if you modify those two macros as below?
#define MOST_NEGATIVE_FIXNUM - ((EMACS_INT) (1 << (VALBITS - 1)))
#define MOST_POSITIVE_FIXNUM ((EMACS_INT) (1 << (VALBITS - 1) - 1))
- 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 <=
- 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
- Re: warnings compiling Emacs 22 on amd64, Stefan Monnier, 2006/12/12