[FFmpeg-cvslog] Revert "configure: Disable -Wbool-operation."

Mark Thompson git at videolan.org
Mon Oct 9 02:59:27 EEST 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Mon Oct  9 00:53:51 2017 +0100| [c154c34c1b37f570ee879560903af1a1a26153e1] | committer: Mark Thompson

Revert "configure: Disable -Wbool-operation."

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’

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c154c34c1b37f570ee879560903af1a1a26153e1
---

 configure | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configure b/configure
index f634a83bf6..0c75f7f5c9 100755
--- 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



More information about the ffmpeg-cvslog mailing list