aboutsummaryrefslogtreecommitdiffstats
path: root/macros/compiler-flags.m4
diff options
context:
space:
mode:
authornobody <nobody@localhost>2000-02-05 06:25:36 +0800
committernobody <nobody@localhost>2000-02-05 06:25:36 +0800
commit1dfb48f783c0fb86469202ef096e1bd1ce5b1b1f (patch)
tree5e5c8f9e4d0929a39b0295b10a322997006e4afc /macros/compiler-flags.m4
parentdec6d6b0971480b8910c301daa6218abe3f2eee0 (diff)
downloadgsoc2013-evolution-915a751d5b6a525639bf18be28e6ce3040096c2b.tar
gsoc2013-evolution-915a751d5b6a525639bf18be28e6ce3040096c2b.tar.gz
gsoc2013-evolution-915a751d5b6a525639bf18be28e6ce3040096c2b.tar.bz2
gsoc2013-evolution-915a751d5b6a525639bf18be28e6ce3040096c2b.tar.lz
gsoc2013-evolution-915a751d5b6a525639bf18be28e6ce3040096c2b.tar.xz
gsoc2013-evolution-915a751d5b6a525639bf18be28e6ce3040096c2b.tar.zst
gsoc2013-evolution-915a751d5b6a525639bf18be28e6ce3040096c2b.zip
This commit was manufactured by cvs2svn to create tagLIBGTOP_1_0_11
'LIBGTOP_1_0_11'. svn path=/tags/LIBGTOP_1_0_11/; revision=1670
Diffstat (limited to 'macros/compiler-flags.m4')
-rw-r--r--macros/compiler-flags.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/compiler-flags.m4 b/macros/compiler-flags.m4
index 63f8e2e6ac..278d5099c0 100644
--- a/macros/compiler-flags.m4
+++ b/macros/compiler-flags.m4
@@ -21,7 +21,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
## -W is not all that useful. And it cannot be controlled
## with individual -Wno-xxx flags, unlike -Wall
if test "x$enable_compile_warnings" = "xyes"; then
- warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations"
+ warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith"
fi
fi
fi
@@ -75,7 +75,7 @@ AC_DEFUN([GNOME_CXX_WARNINGS],[
## -W is not all that useful. And it cannot be controlled
## with individual -Wno-xxx flags, unlike -Wall
if test "x$enable_cxx_warnings" = "xyes"; then
- warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wshadow -Woverloaded-virtual"
+ warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wshadow -Woverloaded-virtual"
fi
fi
fi