OSDN Git Service

Error on implicit function declarations
authorMåns Rullgård <mans@mansr.com>
Sat, 6 Mar 2010 23:19:07 +0000 (23:19 +0000)
committerMåns Rullgård <mans@mansr.com>
Sat, 6 Mar 2010 23:19:07 +0000 (23:19 +0000)
Turning on -Werror=implicit makes implicit function declarations
an error with supported compilers.

Originally committed as revision 22269 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 428e2d2..9dd4489 100755 (executable)
--- a/configure
+++ b/configure
@@ -2705,6 +2705,7 @@ check_cflags -Wwrite-strings
 check_cflags -Wtype-limits
 check_cflags -Wundef
 check_cflags -Wmissing-prototypes
+check_cflags -Werror=implicit
 enabled extra_warnings && check_cflags -Winline
 
 # add some linker flags