Mercurial > emacs
comparison src/ChangeLog @ 112292:a805278575f4
* lisp.h: Redo flags and XSET slightly to avoid overflow diagnostics.
These changes make compilation easier to follow with Sun cc.
(ARRAY_MARK_FLAG): Make it signed, so that it can be assigned to
EMACS_INT values without provoking overflow diagnostics.
(PSEUDOVECTOR_FLAG): Likewise, for consistency.
(XSET) [! USE_LSB_TAG]: Use unsigned left shift to avoid overflow
diagnostic with signed left shift.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 16 Jan 2011 23:16:08 -0800 |
parents | d10e4c917525 |
children | 568ea4e08e90 |
comparison
equal
deleted
inserted
replaced
112291:d10e4c917525 | 112292:a805278575f4 |
---|---|
1 2011-01-17 Paul Eggert <eggert@cs.ucla.edu> | 1 2011-01-17 Paul Eggert <eggert@cs.ucla.edu> |
2 | |
3 * lisp.h: Redo flags and XSET slightly to avoid overflow diagnostics. | |
4 These changes make compilation easier to follow with Sun cc. | |
5 (ARRAY_MARK_FLAG): Make it signed, so that it can be assigned to | |
6 EMACS_INT values without provoking overflow diagnostics. | |
7 (PSEUDOVECTOR_FLAG): Likewise, for consistency. | |
8 (XSET) [! USE_LSB_TAG]: Use unsigned left shift to avoid overflow | |
9 diagnostic with signed left shift. | |
2 | 10 |
3 * fileio.c (make_temp_name): Remove unreachable code. | 11 * fileio.c (make_temp_name): Remove unreachable code. |
4 | 12 |
5 * fontset.c (free_realized_fontset): Mark unreachable code with if (0). | 13 * fontset.c (free_realized_fontset): Mark unreachable code with if (0). |
6 Previously it was marked by preceding it with "return;", but | 14 Previously it was marked by preceding it with "return;", but |