diff options
| author | Paul Eggert | 2011-06-18 11:09:17 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-18 11:09:17 -0700 |
| commit | f2ed8a709551a7125d2e024757262c5bf770766b (patch) | |
| tree | 243e64b1b0c310497411df131e4aea0ada4de9e0 /src/lisp.h | |
| parent | e1528d010f497f97d660902b8a8727fc1b77f53b (diff) | |
| download | emacs-f2ed8a709551a7125d2e024757262c5bf770766b.tar.gz emacs-f2ed8a709551a7125d2e024757262c5bf770766b.zip | |
* lisp.h (lint_assume): New macro.
* composite.c (composition_gstring_put_cache):
* ftfont.c (ftfont_shape_by_flt): Use it to pacify GCC 4.6.0.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 1e3036344f5..0d51fc7be71 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3608,11 +3608,19 @@ extern void init_system_name (void); | |||
| 3608 | ? 0 \ | 3608 | ? 0 \ |
| 3609 | : (wrong_type_argument (Qlistp, (list))), 1)) | 3609 | : (wrong_type_argument (Qlistp, (list))), 1)) |
| 3610 | 3610 | ||
| 3611 | /* Use this to suppress gcc's `...may be used before initialized' warnings. */ | 3611 | /* Use this to suppress gcc's warnings. */ |
| 3612 | #ifdef lint | 3612 | #ifdef lint |
| 3613 | |||
| 3614 | /* Use CODE only if lint checking is in effect. */ | ||
| 3613 | # define IF_LINT(Code) Code | 3615 | # define IF_LINT(Code) Code |
| 3616 | |||
| 3617 | /* Assume that the expression COND is true. This differs in intent | ||
| 3618 | from 'assert', as it is a message from the programmer to the compiler. */ | ||
| 3619 | # define lint_assume(cond) ((cond) ? (void) 0 : abort ()) | ||
| 3620 | |||
| 3614 | #else | 3621 | #else |
| 3615 | # define IF_LINT(Code) /* empty */ | 3622 | # define IF_LINT(Code) /* empty */ |
| 3623 | # define lint_assume(cond) ((void) (0 && (cond))) | ||
| 3616 | #endif | 3624 | #endif |
| 3617 | 3625 | ||
| 3618 | /* The ubiquitous min and max macros. */ | 3626 | /* The ubiquitous min and max macros. */ |