From de63bfecd211037e2bb4553653ddcec4a43d9d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Mon, 8 Mar 2010 02:36:27 +0000 Subject: [PATCH] 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 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index f3da5f65ad..aa994a1292 100755 --- a/configure +++ b/configure @@ -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