print warnings if
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Aug 2006 23:02:52 +0000 (23:02 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Aug 2006 23:02:52 +0000 (23:02 +0000)
gcc ignores inline directives
pointer arithmetic with void pointers
...

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

configure

index 3f61ad8..2b3d452 100755 (executable)
--- a/configure
+++ b/configure
@@ -1469,6 +1469,10 @@ enabled debug && add_cflags -g
 check_cflags -Wdeclaration-after-statement
 check_cflags -Wall
 check_cflags -Wno-switch
+check_cflags -Wdisabled-optimization
+check_cflags -Wpointer-arith
+check_cflags -Wredundant-decls
+check_cflags -Winline
 
 # add some linker flags
 check_ldflags '-Wl,--as-needed' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavcodec' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavformat' '-Wl,-rpath-link,\$(BUILD_ROOT)/libavutil'