aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-07 06:53:12 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-07 06:53:12 +0000
commit62df111cf04956fc9864204ddefb5ea10bdd7061 (patch)
tree29db080cca200fcd4e7f2307f19896e395f303d1 /configure
parente7edeb9191ca434fc707f2e984a1558d04f16545 (diff)
downloadffmpeg-62df111cf04956fc9864204ddefb5ea10bdd7061.tar.gz
Use -Werror=implicit only with gcc
Some other compilers turn too many warnings into errors with this flag. Originally committed as revision 22276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7373e6aace..f3da5f65ad 100755
--- a/configure
+++ b/configure
@@ -2705,7 +2705,6 @@ check_cflags -Wwrite-strings
check_cflags -Wtype-limits
check_cflags -Wundef
check_cflags -Wmissing-prototypes
-check_cflags -Werror=implicit
enabled extra_warnings && check_cflags -Winline
# add some linker flags
@@ -2752,6 +2751,7 @@ elif enabled ccc; then
add_cflags -msg_disable unreachcode
elif enabled gcc; then
check_cflags -fno-tree-vectorize
+ check_cflags -Werror=implicit
elif enabled clang; then
check_cflags -Qunused-arguments
elif enabled armcc; then