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 /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 'ChangeLog')
| -rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -1,5 +1,13 @@ | |||
| 1 | 2013-05-18 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-05-18 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Port --enable-gcc-warnings to clang. | ||
| 4 | * configure.ac (nw): Remove obsolescent warnings. | ||
| 5 | These aren't needed for clang, or for gcc for that matter. | ||
| 6 | (emacs_cv_clang): New var, which tests for clang. | ||
| 7 | Omit warnings that clang is too picky about. | ||
| 8 | (GLIB_DISABLE_DEPRECATION_WARNINGS): Define this; | ||
| 9 | needed for Ubuntu 13.04 + clang + --enable-gcc-warnings. | ||
| 10 | |||
| 3 | * make-dist (files): Add nt/Makefile.in, nt/gnulib.mk. | 11 | * make-dist (files): Add nt/Makefile.in, nt/gnulib.mk. |
| 4 | Otherwise, 'configure; make' fails on non-Windows builds. | 12 | Otherwise, 'configure; make' fails on non-Windows builds. |
| 5 | 13 | ||