diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-03-15 13:47:47 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-03-15 13:49:58 -0700 |
commit | 7950e1dd3fc1ce07cc4d6001de6c11a249b80de8 (patch) | |
tree | 75e155ac82d6297a7a42d3116f6028a1b807cd46 /lisp/emacs-lisp | |
parent | 218ae59019204311101b1d6f79c86f8815b3a65b (diff) | |
download | emacs-7950e1dd3fc1ce07cc4d6001de6c11a249b80de8.tar.gz emacs-7950e1dd3fc1ce07cc4d6001de6c11a249b80de8.tar.bz2 emacs-7950e1dd3fc1ce07cc4d6001de6c11a249b80de8.zip |
Port to clang 3.7.0 on x86-64
* configure.ac: Use AS_IF so that gl_WARN_ADD’s prerequisites are
not done conditionally. This helps clang, which needs
-Wunknown-warning-option later when configured with warnings.
* src/editfns.c (invalid_time): Now _Noreturn, since clang isn’t
smart enough to figure this out on its own if warnings are enabled.
(lisp_time_struct): Redo for clarity, and to pacify clang.
* src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Don’t use
uninitialized locals. This avoids undefined behavior and pacifies
clang.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions