]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
add -Wundef compiler flag, to catch typo in #if or similar situations
authoraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 16 Jan 2009 00:37:38 +0000 (00:37 +0000)
committeraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 16 Jan 2009 00:37:38 +0000 (00:37 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16621 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

configure

index f2cc947793afeecc15d27d6875b98fa9896cd1d9..419af7c69e78b7790e02ed6f9ff10bffd4d358e4 100755 (executable)
--- a/configure
+++ b/configure
@@ -2045,6 +2045,7 @@ check_cflags -Wno-pointer-sign
 check_cflags -Wcast-qual
 check_cflags -Wwrite-strings
 check_cflags -Wtype-limits
+check_cflags -Wundef
 enabled extra_warnings && check_cflags -Winline
 
 # add some linker flags