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

Error on missing function prototypes with gcc

This makes it an error to not have a prototype in scope for
a function with external linkage.  The flag is only enabled
for gcc due to -Werror=type not working with all compilers.

Originally committed as revision 22313 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 b903fe91
......@@ -2752,6 +2752,7 @@ elif enabled ccc; then
elif enabled gcc; then
check_cflags -fno-tree-vectorize
check_cflags -Werror=implicit
check_cflags -Werror=missing-prototypes
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.
先完成此消息的编辑!
想要评论请 注册