mirror of https://git.ffmpeg.org/ffmpeg.git
add -Wundef compiler flag, to catch typo in #if or similar situations
Originally committed as revision 16621 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8b192330d5
commit
764551c672
|
@ -2045,6 +2045,7 @@ check_cflags -Wno-pointer-sign
|
||||||
check_cflags -Wcast-qual
|
check_cflags -Wcast-qual
|
||||||
check_cflags -Wwrite-strings
|
check_cflags -Wwrite-strings
|
||||||
check_cflags -Wtype-limits
|
check_cflags -Wtype-limits
|
||||||
|
check_cflags -Wundef
|
||||||
enabled extra_warnings && check_cflags -Winline
|
enabled extra_warnings && check_cflags -Winline
|
||||||
|
|
||||||
# add some linker flags
|
# add some linker flags
|
||||||
|
|
Loading…
Reference in New Issue