[FFmpeg-cvslog] Merge commit '984e50e74ba71301720652e56232161a994bd0b5'
Clément Bœsch
git at videolan.org
Sat Apr 8 16:01:13 EEST 2017
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sat Apr 8 15:00:25 2017 +0200| [3d0475ef387f2b9eec3692f28fc27e8b038001d6] | committer: Clément Bœsch
Merge commit '984e50e74ba71301720652e56232161a994bd0b5'
* commit '984e50e74ba71301720652e56232161a994bd0b5':
build: Add -Wpedantic and -Wextra to extra warning flags
Merged-by: Clément Bœsch <u at pkh.me>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d0475ef387f2b9eec3692f28fc27e8b038001d6
---
configure | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 3936202..b223211 100755
--- a/configure
+++ b/configure
@@ -6125,8 +6125,12 @@ check_cflags -Wmissing-prototypes
check_cflags -Wno-pointer-to-int-cast
check_cflags -Wstrict-prototypes
check_cflags -Wempty-body
-enabled extra_warnings && check_cflags -Winline
-enabled extra_warnings && check_cflags -Wcast-qual
+
+if enabled extra_warnings; then
+ check_cflags -Wcast-qual
+ check_cflags -Wextra
+ check_cflags -Wpedantic
+fi
check_disable_warning(){
warning_flag=-W${1#-Wno-}
======================================================================
diff --cc configure
index 3936202,983d56b..b223211
--- a/configure
+++ b/configure
@@@ -6122,11 -4833,13 +6122,15 @@@ check_cflags -Wwrite-string
check_cflags -Wtype-limits
check_cflags -Wundef
check_cflags -Wmissing-prototypes
+check_cflags -Wno-pointer-to-int-cast
check_cflags -Wstrict-prototypes
+check_cflags -Wempty-body
- enabled extra_warnings && check_cflags -Winline
- enabled extra_warnings && check_cflags -Wcast-qual
+
+ if enabled extra_warnings; then
+ check_cflags -Wcast-qual
+ check_cflags -Wextra
+ check_cflags -Wpedantic
+ fi
check_disable_warning(){
warning_flag=-W${1#-Wno-}
More information about the ffmpeg-cvslog
mailing list