1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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
This commit is contained in:
Måns Rullgård 2010-03-08 02:36:27 +00:00
parent b903fe9137
commit de63bfecd2

1
configure vendored
View File

@ -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