mirror of https://git.ffmpeg.org/ffmpeg.git
configure: Disable -Wmaybe-uninitialized by default
It is by definition unreliable and causes pointless noise on valid code.
This commit is contained in:
parent
0b357a8095
commit
de6061203e
|
@ -3907,6 +3907,7 @@ check_cflags -Wundef
|
||||||
check_cflags -Wmissing-prototypes
|
check_cflags -Wmissing-prototypes
|
||||||
check_cflags -Wstrict-prototypes
|
check_cflags -Wstrict-prototypes
|
||||||
enabled extra_warnings && check_cflags -Winline
|
enabled extra_warnings && check_cflags -Winline
|
||||||
|
enabled extra_warnings || check_cflags -Wno-maybe-uninitialized
|
||||||
|
|
||||||
# add some linker flags
|
# add some linker flags
|
||||||
check_ldflags -Wl,--warn-common
|
check_ldflags -Wl,--warn-common
|
||||||
|
|
Loading…
Reference in New Issue