Commit 630fa4ae authored by mru's avatar mru

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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22313 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 58c39ca3
...@@ -2752,6 +2752,7 @@ elif enabled ccc; then ...@@ -2752,6 +2752,7 @@ elif enabled ccc; then
elif enabled gcc; then elif enabled gcc; then
check_cflags -fno-tree-vectorize check_cflags -fno-tree-vectorize
check_cflags -Werror=implicit check_cflags -Werror=implicit
check_cflags -Werror=missing-prototypes
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