diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-03-16 19:21:14 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-12-03 08:00:33 +0100 |
commit | 984e50e74ba71301720652e56232161a994bd0b5 (patch) | |
tree | d5ac4b6de76844ac3aa0b11d0f51b7fda99318f4 /configure | |
parent | 33a2b73b98374de4781ae0497cf74b2ce07a9615 (diff) | |
download | ffmpeg-984e50e74ba71301720652e56232161a994bd0b5.tar.gz |
build: Add -Wpedantic and -Wextra to extra warning flags
Also drop -Winline from set of warning flags as it only produces noise.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4834,8 +4834,12 @@ check_cflags -Wtype-limits check_cflags -Wundef check_cflags -Wmissing-prototypes check_cflags -Wstrict-prototypes -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-} |