Browse code

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

Originally committed as revision 16621 to svn://svn.ffmpeg.org/ffmpeg/trunk

Aurelien Jacobs authored on 2009/01/16 09:37:38
Showing 1 changed files
... ...
@@ -2045,6 +2045,7 @@ check_cflags -Wno-pointer-sign
2045 2045
 check_cflags -Wcast-qual
2046 2046
 check_cflags -Wwrite-strings
2047 2047
 check_cflags -Wtype-limits
2048
+check_cflags -Wundef
2048 2049
 enabled extra_warnings && check_cflags -Winline
2049 2050
 
2050 2051
 # add some linker flags