Port --enable-gcc-warnings to GCC 6.2.1
commiteb17d6f575de81dbbc113e474d28db0396c12714
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Oct 2016 16:16:31 +0000 (12 09:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 12 Oct 2016 16:19:44 +0000 (12 09:19 -0700)
tree3bb16bd4385dc247018e09b1048de46e7535dd76
parent40c426a150c5d885d8a2509358831c9bb1e1c6ad
Port --enable-gcc-warnings to GCC 6.2.1

Backport from master.
* src/conf_post.h (GNUC_PREREQ): New macro.
* src/keyboard.c: Use it to work around GCC bug 54561.
* src/process.c (would_block): New function.
(server_accept_connection, wait_reading_process_output, send_process):
Use it.
src/conf_post.h
src/keyboard.c
src/process.c