diff options
author | Clément Bœsch <u@pkh.me> | 2017-04-08 15:00:25 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-04-08 15:00:25 +0200 |
commit | 3d0475ef387f2b9eec3692f28fc27e8b038001d6 (patch) | |
tree | eec05e9bb45ce5d0c2c884a6355288f953692997 | |
parent | ec10c543b8b53fe6232511d214b17b48de0e9533 (diff) | |
parent | 984e50e74ba71301720652e56232161a994bd0b5 (diff) | |
download | ffmpeg-3d0475ef387f2b9eec3692f28fc27e8b038001d6.tar.gz |
Merge commit '984e50e74ba71301720652e56232161a994bd0b5'
* commit '984e50e74ba71301720652e56232161a994bd0b5':
build: Add -Wpedantic and -Wextra to extra warning flags
Merged-by: Clément Bœsch <u@pkh.me>
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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-} |