diff options
| author | Paul Eggert | 2011-02-03 11:29:35 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-03 11:29:35 -0800 |
| commit | 67342916c9fd6fffe142539a3aba4601d005e839 (patch) | |
| tree | a12c72452490d3f1763f4033bccdff3aa857f7e0 /src/ChangeLog | |
| parent | 90b750f4e227844e0eb2368193f13631876d0664 (diff) | |
| download | emacs-67342916c9fd6fffe142539a3aba4601d005e839.tar.gz emacs-67342916c9fd6fffe142539a3aba4601d005e839.zip | |
allow C code to suppress warnings about ignored return values
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index aee41f57ac2..a65fc5730df 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2011-02-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | allow C code to suppress warnings about ignored return values | ||
| 4 | |||
| 5 | We need to go through the code and for each such warning, either | ||
| 6 | fix the code to pay attention to the returned value, or tell GCC | ||
| 7 | that we really do want to ignore the returned value. Here is one | ||
| 8 | example of how to do the latter. | ||
| 9 | * sysdep.c: Include <ignore-value.h>. | ||
| 10 | (sys_subshell): Suppress an undesirable warning about not checking | ||
| 11 | the returned value of 'write', as there's nothing useful one can | ||
| 12 | do with that returned value. | ||
| 13 | |||
| 1 | 2011-02-03 Jan Djärv <jan.h.d@swipnet.se> | 14 | 2011-02-03 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 15 | ||
| 3 | * xterm.c (x_connection_closed): Remove all calls that calls | 16 | * xterm.c (x_connection_closed): Remove all calls that calls |