[FFmpeg-cvslog] r22313 - trunk/configure

mru subversion
Mon Mar 8 03:36:27 CET 2010


Author: mru
Date: Mon Mar  8 03:36:27 2010
New Revision: 22313

Log:
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.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Mar  8 03:36:22 2010	(r22312)
+++ trunk/configure	Mon Mar  8 03:36:27 2010	(r22313)
@@ -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



More information about the ffmpeg-cvslog mailing list