Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-11-10 00:09:22 +0300
committerMåns Rullgård <mans@mansr.com>2006-11-10 00:09:22 +0300
commit78fcba8fc789b29002b82ae7ebfff00eb82bbce7 (patch)
tree006c26887a7f889b6a2beeab83f68fefc23f1b5a /configure
parent92a35418762f94f3ce0989bc16e17f3615bfc474 (diff)
disable -Winline spam, --enable-extra-warnings to enable
Originally committed as revision 6957 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 37eea1183f..a343d0324e 100755
--- a/configure
+++ b/configure
@@ -95,6 +95,7 @@ show_help(){
echo " --enable-gprof enable profiling with gprof [$gprof]"
echo " --disable-debug disable debugging symbols"
echo " --disable-opts disable compiler optimizations"
+ echo " --enable-extra-warnings enable more compiler warnings"
echo " --disable-mpegaudio-hp faster (but less accurate)"
echo " MPEG audio decoding [default=no]"
echo " --disable-protocols disable I/O protocols support [default=no]"
@@ -439,6 +440,7 @@ lstatic="yes"
lshared="no"
optimize="yes"
debug="yes"
+extrawarnings="no"
dostrip="yes"
installstrip="-s"
extralibs="-lm"
@@ -810,6 +812,8 @@ for opt do
;;
--disable-opts) optimize="no"
;;
+ --enable-extra-warnings) extrawarnings="yes"
+ ;;
--disable-mpegaudio-hp) mpegaudio_hp="no"
;;
--disable-protocols) protocols="no"; network="no"; ffserver="no"
@@ -1526,7 +1530,7 @@ check_cflags -Wno-switch
check_cflags -Wdisabled-optimization
check_cflags -Wpointer-arith
check_cflags -Wredundant-decls
-check_cflags -Winline
+enabled extrawarnings && check_cflags -Winline
# add some linker flags
check_ldflags $LDLATEFLAGS