Revert "configure: Disable -Wbool-operation."
authorMark Thompson <sw@jkqxz.net>
Sun, 8 Oct 2017 23:53:51 +0000 (00:53 +0100)
committerMark Thompson <sw@jkqxz.net>
Sun, 8 Oct 2017 23:53:51 +0000 (00:53 +0100)
This reverts commit c2d155e11ee5ec732d471982f2dee43703bcd5a7.

GCC 6 incorrectly passes the configure test and then logs many warnings
of the form:

src/libavformat/dump.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-bool-operation’

configure

index f634a83..0c75f7f 100755 (executable)
--- a/configure
+++ b/configure
@@ -6297,7 +6297,6 @@ check_cflags -Wmissing-prototypes
 check_cflags -Wno-pointer-to-int-cast
 check_cflags -Wstrict-prototypes
 check_cflags -Wempty-body
-check_cflags -Wno-bool-operation
 
 if enabled extra_warnings; then
     check_cflags -Wcast-qual