Commit 03b9cbe1 authored by mru's avatar mru

Use -Werror=implicit only with gcc

Some other compilers turn too many warnings into errors with this flag.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22276 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 25738a3e
...@@ -2705,7 +2705,6 @@ check_cflags -Wwrite-strings ...@@ -2705,7 +2705,6 @@ check_cflags -Wwrite-strings
check_cflags -Wtype-limits check_cflags -Wtype-limits
check_cflags -Wundef check_cflags -Wundef
check_cflags -Wmissing-prototypes check_cflags -Wmissing-prototypes
check_cflags -Werror=implicit
enabled extra_warnings && check_cflags -Winline enabled extra_warnings && check_cflags -Winline
# add some linker flags # add some linker flags
...@@ -2752,6 +2751,7 @@ elif enabled ccc; then ...@@ -2752,6 +2751,7 @@ elif enabled ccc; then
add_cflags -msg_disable unreachcode add_cflags -msg_disable unreachcode
elif enabled gcc; then elif enabled gcc; then
check_cflags -fno-tree-vectorize check_cflags -fno-tree-vectorize
check_cflags -Werror=implicit
elif enabled clang; then elif enabled clang; then
check_cflags -Qunused-arguments check_cflags -Qunused-arguments
elif enabled armcc; then elif enabled armcc; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment