summaryrefslogtreecommitdiff
path: root/macros/compiler-flags.m4
diff options
context:
space:
mode:
authorJody Goldberg <jody@src.gnome.org>1999-09-27 03:12:05 +0000
committerJody Goldberg <jody@src.gnome.org>1999-09-27 03:12:05 +0000
commit8da4612fa746e2f776a4ebac0c252f247712efab (patch)
treefdde6d1d540fd853b50c4ebbae8569fef630e8cb /macros/compiler-flags.m4
parent711d241ac7c8f6e289a3deb66643a74ce184f4d2 (diff)
downloadgnome-common-8da4612fa746e2f776a4ebac0c252f247712efab.tar.gz
Remove -Wpointer-arith to make recent egcs & glibc to stop generating
warnings. svn path=/trunk/; revision=926
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 278d509..63f8e2e 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 -Wpointer-arith"
+ warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wmissing-declarations"
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 -Wpointer-arith -Wshadow -Woverloaded-virtual"
+ warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wmissing-declarations -Wshadow -Woverloaded-virtual"
fi
fi
fi