diff options
| author | Paul Eggert | 2013-05-17 22:32:17 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-05-17 22:32:17 -0700 |
| commit | 31ff141c226d00ce8c85562e7812ff1178cb45ed (patch) | |
| tree | 129202655e89622c0ea695d2993e9134990d29bd /lib-src/ChangeLog | |
| parent | bfbe26276d04b1e8aeaec21fea7573ac1135d521 (diff) | |
| download | emacs-31ff141c226d00ce8c85562e7812ff1178cb45ed.tar.gz emacs-31ff141c226d00ce8c85562e7812ff1178cb45ed.zip | |
Port --enable-gcc-warnings to clang.
* configure.ac (nw): Remove obsolescent warnings.
These aren't needed for clang, or for gcc for that matter.
(emacs_cv_clang): New var, which tests for clang.
Omit warnings that clang is too picky about.
(GLIB_DISABLE_DEPRECATION_WARNINGS): Define this;
needed for Ubuntu 13.04 + clang + --enable-gcc-warnings.
* lib-src/etags.c: Omit unnecessary forward decls.
(print_version, print_help): Declare _Noreturn.
* lib-src/pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify.
* src/bytecode.c (exec_byte_code):
* src/regex.c:
Redo diagnostic pragmas to pacify clang, too.
* src/dbusbind.c (xd_retrieve_arg): Do not use uninitialized variable.
* src/editfns.c (Fencode_time):
* src/fileio.c (file_accessible_directory_p):
* src/font.c (font_unparse_xlfd):
Use '&"string"[index]' instead of '"string" + (index)'.
* src/undo.c (user_error): Remove; unused.
Diffstat (limited to 'lib-src/ChangeLog')
| -rw-r--r-- | lib-src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 6ff653b7be6..e565983e147 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-05-18 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Port --enable-gcc-warnings to clang. | ||
| 4 | * etags.c: Omit unnecessary forward decls. | ||
| 5 | (print_version, print_help): Declare _Noreturn. | ||
| 6 | * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify. | ||
| 7 | |||
| 1 | 2013-05-16 Eli Zaretskii <eliz@gnu.org> | 8 | 2013-05-16 Eli Zaretskii <eliz@gnu.org> |
| 2 | 9 | ||
| 3 | * update-game-score.c [WINDOWSNT]: Include "ntlib.h". | 10 | * update-game-score.c [WINDOWSNT]: Include "ntlib.h". |