]> git.eshelyaron.com Git - emacs.git/commit
Fix compilation warnings in MinGW64 build using GCC 7
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Sep 2017 15:50:50 +0000 (18:50 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 Sep 2017 15:50:50 +0000 (18:50 +0300)
commit2b84c1666274edcb6b810649fa0d6fc09e9e7a66
tree77c5d68dfc12306eb39b9328a3960eba411562cf
parente91da7f8f2523057fa93ea4aace36863315abb5b
Fix compilation warnings in MinGW64 build using GCC 7

Reported by Richard Copley <rcopley@gmail.com>.
* src/w32heap.c (init_heap): Declare enable_lfh only for
mingw.org's MinGW build.

* src/w32console.c (w32con_write_glyphs):
* src/unexw32.c (get_section_info, COPY_CHUNK, unexec): Fix some
mismatches of data type vs format spec.

* src/w32fns.c (compute_tip_xy):
* src/w32proc.c (stop_timer_thread):
* src/w32notify.c (remove_watch):
* src/eval.c (internal_lisp_condition_case):
* src/editfns.c (Ftranslate_region_internal):
* src/data.c (Fmake_variable_buffer_local, cons_to_unsigned)
(cons_to_signed):
* src/buffer.c (fix_overlays_before): Initialize variables to
avoid compiler warnings.

* lib-src/etags.c (TeX_commands, process_file_name): Initialize
variables to avoid compilation warnings.
lib-src/etags.c
src/buffer.c
src/data.c
src/editfns.c
src/eval.c
src/unexw32.c
src/w32console.c
src/w32fns.c
src/w32heap.c
src/w32notify.c
src/w32proc.c