Ticket #518: plugin-evo2-wall.diff
| File plugin-evo2-wall.diff, 1.2 kB (added by HaltonHuo, 1 year ago) |
|---|
-
evolution2/configure.in
old new 15 15 16 16 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules], , AC_MSG_ERROR(GLib >= 2.0 and opensync >= 1.0 required)) 17 17 18 AC_ARG_ENABLE(warnings, 19 AC_HELP_STRING([--disable-warnings], [disable GCC warnings]),, 20 [enable_warnings=yes]) 21 22 dnl Only use -Wall if we have gcc 23 dnl Please remove '-Wno-return-type' when Evo fixes the warning in their headers. 24 if test "x$GCC" = "xyes"; then 25 if test "x$enable_warnings" = "xyes"; then 26 PACKAGE_CFLAGS ="\ 27 -Wall \ 28 -Werror \ 29 -Wno-return-type \ 30 $CFLAGS" 31 fi 32 fi 33 18 34 AC_SUBST(PACKAGE_CFLAGS) 19 35 AC_SUBST(PACKAGE_LIBS) 20 36 -
evolution2/src/Makefile.am
old new 4 4 5 5 INCLUDES = @PACKAGE_CFLAGS@ @EPACKAGE_CFLAGS@ 6 6 7 # Please remove '-Wno-return-type' when Evo fixes the warning in their headers.8 AM_CFLAGS = -Wall -Werror -Wno-return-type9 10 7 config_DATA = evo2-sync 11 8 12 9 opensyncheader_HEADERS = evo2_sync.h
