* configure.ac (AC_ARG_ENABLE): Use -Wextra -Wno-sign-compare

rather than -W, so we don't get bogus warnings about sign comparisons.
Add -Wpointer-arith, since that warning is useful (it reports code
that does not conform to C89 and that some compilers reject).
* data/c.m4, data/glr.c, data/lalr1.cc, data/yacc.c: Undo latest change,
since it's no longer needed.
This commit is contained in:
Paul Eggert
2006-08-11 19:50:14 +00:00
parent f9bfc42aa7
commit 34ec357927
5 changed files with 14 additions and 35 deletions

View File

@@ -164,11 +164,6 @@ m4_define([b4_int_type],
[int])])
# b4_safest_int_type
# ------------------
# The safest int type to cast to when it's necessary to compare a signed int
# type against an int type set by b4_int_type.
m4_define([b4_safest_int_type],[int])
# b4_int_type_for(NAME)
# ---------------------