[Cluster-devel] cluster configure

rmccabe at sourceware.org rmccabe at sourceware.org
Fri Oct 26 19:18:55 UTC 2007


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rmccabe at sourceware.org	2007-10-26 19:18:55

Modified files:
	.              : configure 

Log message:
	Compile with -Wformat=2, which will catch usually dangerous format string bugs

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/configure.diff?cvsroot=cluster&r1=1.36&r2=1.37

--- cluster/configure	2007/10/01 03:28:12	1.36
+++ cluster/configure	2007/10/26 19:18:55	1.37
@@ -209,7 +209,7 @@
   $cc="gcc";
 }
 if (!$cflags) {
-  $cflags="-Wall";
+  $cflags="-Wall -Wformat=2";
   if (!$debug) {
     $cflags="${cflags} -O2";
   } else {




More information about the Cluster-devel mailing list