svn commit: samba r1905 - in branches/SAMBA_4_0/source/build: smb_build tests

metze at samba.org metze at samba.org
Thu Aug 19 07:59:08 GMT 2004


Author: metze
Date: 2004-08-19 07:59:08 +0000 (Thu, 19 Aug 2004)
New Revision: 1905

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/build&rev=1905&nolog=1

Log:
add -Werror-implicit-function-declaration with --enable-developer

metze

Modified:
   branches/SAMBA_4_0/source/build/smb_build/check_path.m4
   branches/SAMBA_4_0/source/build/tests/summary.c
   branches/SAMBA_4_0/source/build/tests/trivial.c


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/check_path.m4
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/check_path.m4	2004-08-19 07:58:02 UTC (rev 1904)
+++ branches/SAMBA_4_0/source/build/smb_build/check_path.m4	2004-08-19 07:59:08 UTC (rev 1905)
@@ -127,7 +127,7 @@
 AC_ARG_ENABLE(developer, [  --enable-developer      Turn on developer warnings and debugging (default=no)],
     [if eval "test x$enable_developer = xyes"; then
         developer=yes
-    	CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
+    	CFLAGS="${CFLAGS} -g -Wall -Wshadow -Werror-implicit-function-declaration -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER"
     fi])
 
 AC_ARG_ENABLE(krb5developer, [  --enable-krb5developer  Turn on developer warnings and debugging, except -Wstrict-prototypes (default=no)],

Modified: branches/SAMBA_4_0/source/build/tests/summary.c
===================================================================
--- branches/SAMBA_4_0/source/build/tests/summary.c	2004-08-19 07:58:02 UTC (rev 1904)
+++ branches/SAMBA_4_0/source/build/tests/summary.c	2004-08-19 07:59:08 UTC (rev 1905)
@@ -1,5 +1,7 @@
 #include <stdio.h>
 
+void exit(int);
+
 main()
 {
 #if !(defined(HAVE_FCNTL_LOCK) || defined(HAVE_STRUCT_FLOCK64))

Modified: branches/SAMBA_4_0/source/build/tests/trivial.c
===================================================================
--- branches/SAMBA_4_0/source/build/tests/trivial.c	2004-08-19 07:58:02 UTC (rev 1904)
+++ branches/SAMBA_4_0/source/build/tests/trivial.c	2004-08-19 07:59:08 UTC (rev 1905)
@@ -1,3 +1,6 @@
+
+void exit(int);
+
 main()
 {
 	exit(0);



More information about the samba-cvs mailing list