aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-08-30 23:02:52 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-08-30 23:02:52 +0000
commitc07bd6a937f797bb05864980774ca85d2ffb2a8b (patch)
treed4d3fbc185977a4a0996deebb6585f7d4352243f /configure
parent504ee036ee7f8bb2fc7e8d8278362f6250899d46 (diff)
downloadffmpeg-c07bd6a937f797bb05864980774ca85d2ffb2a8b.tar.gz
print warnings if
gcc ignores inline directives pointer arithmetic with void pointers ... Originally committed as revision 6134 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 3f61ad8975..2b3d45275d 100755
--- 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'