[vlc-devel] commit: Force an error when a function prototype is missing ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Oct 27 18:30:05 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Oct 27 19:29:13 2008 +0200| [87ef957bfa8f7b47735fbad85a0b2636aea14ba2] | committer: Rémi Denis-Courmont 

Force an error when a function prototype is missing

If someone understands the stochastic process whereby GCC decides to
apply this function or not, please let me know.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87ef957bfa8f7b47735fbad85a0b2636aea14ba2
---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 0bb57b6..8cd1f77 100644
--- a/configure.ac
+++ b/configure.ac
@@ -933,7 +933,7 @@ if test "${ac_cv_c_ntohl_sys_param_h}" != "no"; then
 fi
 CFLAGS="${CFLAGS_save}"
 
-RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast cast-align write-strings missing-prototypes volatile-register-var])
+RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast cast-align write-strings missing-prototypes volatile-register-var error-implicit-function-declaration])
 RDC_PROG_CC_FLAGS_IFELSE([-pipe])
 
 dnl Check for various optimization flags




More information about the vlc-devel mailing list