[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warnings compiling Emacs 22 on amd64
From: |
Stefan Monnier |
Subject: |
Re: warnings compiling Emacs 22 on amd64 |
Date: |
Tue, 16 Jan 2007 09:50:01 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
> #define FIXNUM_OVERFLOW_P(i) \
> ((EMACS_INT)(int)(i) > MOST_POSITIVE_FIXNUM \
> || (EMACS_INT)(int)(i) < MOST_NEGATIVE_FIXNUM)
This would break code where `i' is a long.
In any case, the first thing to do is to bring it to the attention of the
gcc maintainers. Even if they don't provide any workaround, it's important
that they know about such problems. Otherwise they may be tempted to add
warnings for code like
int x = 3;
int y = SOME_MACRO (x);
if (y > 6) ...
where SOME_MACRO may end up just returning `x' depending on some
compilation flag.
Stefan
- Re: warnings compiling Emacs 22 on amd64, (continued)
- Re: warnings compiling Emacs 22 on amd64, Stefan Monnier, 2007/01/14
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2007/01/14
- Re: warnings compiling Emacs 22 on amd64, Richard Stallman, 2007/01/15
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2007/01/15
- Re: warnings compiling Emacs 22 on amd64, Richard Stallman, 2007/01/16
- Re: warnings compiling Emacs 22 on amd64, Kevin Gallagher, 2007/01/16
- Re: warnings compiling Emacs 22 on amd64, Kim F. Storm, 2007/01/16
- Re: warnings compiling Emacs 22 on amd64, Richard Stallman, 2007/01/16
- Re: warnings compiling Emacs 22 on amd64, Kim F. Storm, 2007/01/16
- Re: warnings compiling Emacs 22 on amd64,
Stefan Monnier <=
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2007/01/16
- Re: warnings compiling Emacs 22 on amd64, Richard Stallman, 2007/01/17
- Re: warnings compiling Emacs 22 on amd64, Richard Stallman, 2007/01/16
- Re: warnings compiling Emacs 22 on amd64, Eli Zaretskii, 2007/01/16