Commit 764551c6 authored by Aurelien Jacobs's avatar Aurelien Jacobs

add -Wundef compiler flag, to catch typo in #if or similar situations

Originally committed as revision 16621 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8b192330
...@@ -2045,6 +2045,7 @@ check_cflags -Wno-pointer-sign ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment