1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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:
Aurelien Jacobs 2009-01-16 00:37:38 +00:00
parent 8b192330d5
commit 764551c672

1
configure vendored
View File

@ -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