提交 62df111c 编写于 作者: M Måns Rullgård

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
上级 e7edeb91
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册