add -Wpointer-arith to gcc

This commit is contained in:
Mark Andrews
2006-03-03 03:32:59 +00:00
parent a2ab972532
commit 2b6e723640
4 changed files with 10 additions and 10 deletions

View File

@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
AC_REVISION($Revision: 1.83.2.5.2.22 $)
AC_REVISION($Revision: 1.83.2.5.2.23 $)
AC_INIT(resolv/herror.c)
AC_PREREQ(2.13)
@@ -513,7 +513,7 @@ MKDEPCFLAGS="-M"
IRIX_DNSSEC_WARNINGS_HACK=""
if test "X$GCC" = "Xyes"; then
STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings"
STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wpointer-arith"
else
case $host in
*-dec-osf*)