From: <nga...@us...> - 2008-07-01 17:33:24
|
Revision: 1207 http://conky.svn.sourceforge.net/conky/?rev=1207&view=rev Author: ngarofil Date: 2008-07-01 10:33:21 -0700 (Tue, 01 Jul 2008) Log Message: ----------- Compilation with --enable-testing works by removing stdio.h Modified Paths: -------------- trunk/conky1/configure.ac.in trunk/conky1/src/conky.h Modified: trunk/conky1/configure.ac.in =================================================================== --- trunk/conky1/configure.ac.in 2008-07-01 14:46:13 UTC (rev 1206) +++ trunk/conky1/configure.ac.in 2008-07-01 17:33:21 UTC (rev 1207) @@ -623,7 +623,7 @@ [want_debug="$enableval"], [want_debug=no]) if test "x$want_debug" = "xyes" -a $ac_cv_c_compiler_gnu != no; then - CFLAGS="$CFLAGS -g3 -Werror" + CFLAGS="$CFLAGS -g3" AC_DEFINE([DEBUG], [], [Define for debugging]) fi @@ -640,7 +640,7 @@ CFLAGS="$CFLAGS -Wextra -Wunused -Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Winline -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -std=c99 -pedantic" AC_DEFINE([TESTING], [], [Define for testing (enables strict compiler flags)]) else - CFLAGS="$CFLAGS -g3 -Werror -Wextra -Wunused -Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Winline -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -std=c99 -pedantic" + CFLAGS="$CFLAGS -g3 -Wextra -Wunused -Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Winline -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -std=c99 -pedantic" AC_DEFINE([TESTING], [], [Define for testing (enables strict compiler flags)]) fi fi Modified: trunk/conky1/src/conky.h =================================================================== --- trunk/conky1/src/conky.h 2008-07-01 14:46:13 UTC (rev 1206) +++ trunk/conky1/src/conky.h 2008-07-01 17:33:21 UTC (rev 1207) @@ -43,7 +43,6 @@ #include "config.h" #include <sys/utsname.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> #include <locale.h> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |