Commit 8dd9a120 by Kaveh R. Ghazi Committed by Kaveh Ghazi

Makefile.in (LOOSE_WARN, [...]): Update comments.

	* Makefile.in (LOOSE_WARN, STRICT_WARN): Update comments.
	* configure.ac (loose_warn): Move -Wc++-compat from here...
	(strict_warn): ...to here.
	* configure: Regenerate.

From-SVN: r137699
parent e68152b6
2008-07-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (LOOSE_WARN, STRICT_WARN): Update comments.
* configure.ac (loose_warn): Move -Wc++-compat from here...
(strict_warn): ...to here.
* configure: Regenerate.
2008-07-10 Joseph Myers <joseph@codesourcery.com> 2008-07-10 Joseph Myers <joseph@codesourcery.com>
* config.gcc (arm-*-coff*, armel-*-coff*, h8300-*-*, * config.gcc (arm-*-coff*, armel-*-coff*, h8300-*-*,
......
...@@ -155,10 +155,9 @@ coverageexts = .{gcda,gcno} ...@@ -155,10 +155,9 @@ coverageexts = .{gcda,gcno}
# flags from configure. The user is free to explicitly turn these flags # flags from configure. The user is free to explicitly turn these flags
# off if they wish. # off if they wish.
# LOOSE_WARN are the warning flags to use when compiling something # LOOSE_WARN are the warning flags to use when compiling something
# which is only compiled with gcc, such as libgcc and the frontends # which is only compiled with gcc, such as libgcc.
# other than C.
# STRICT_WARN are the additional warning flags to # STRICT_WARN are the additional warning flags to
# apply to the back end and the C front end, which may be compiled # apply to the back end and some front ends, which may be compiled
# with other compilers. # with other compilers.
LOOSE_WARN = @loose_warn@ LOOSE_WARN = @loose_warn@
STRICT_WARN = @strict_warn@ STRICT_WARN = @strict_warn@
......
...@@ -7015,7 +7015,7 @@ fi ...@@ -7015,7 +7015,7 @@ fi
loose_warn= loose_warn=
save_CFLAGS="$CFLAGS" save_CFLAGS="$CFLAGS"
for option in -W -Wall -Wwrite-strings -Wstrict-prototypes \ for option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -Wcast-qual -Wc++-compat; do -Wmissing-prototypes -Wcast-qual; do
as_acx_Woption=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` as_acx_Woption=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
echo "$as_me:$LINENO: checking whether $CC supports $option" >&5 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
...@@ -7082,7 +7082,7 @@ CFLAGS="$save_CFLAGS" ...@@ -7082,7 +7082,7 @@ CFLAGS="$save_CFLAGS"
strict_warn= strict_warn=
save_CFLAGS="$CFLAGS" save_CFLAGS="$CFLAGS"
for option in -Wold-style-definition \ for option in -Wold-style-definition -Wc++-compat \
-Wmissing-format-attribute; do -Wmissing-format-attribute; do
as_acx_Woption=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` as_acx_Woption=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
......
...@@ -323,8 +323,8 @@ AC_CHECK_TYPES([__int64], [AC_CHECK_SIZEOF(__int64)]) ...@@ -323,8 +323,8 @@ AC_CHECK_TYPES([__int64], [AC_CHECK_SIZEOF(__int64)])
# So, we only use -pedantic if we can disable those warnings. # So, we only use -pedantic if we can disable those warnings.
ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \ ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -Wcast-qual -Wc++-compat], [loose_warn]) -Wmissing-prototypes -Wcast-qual], [loose_warn])
ACX_PROG_CC_WARNING_OPTS([-Wold-style-definition \ ACX_PROG_CC_WARNING_OPTS([-Wold-style-definition -Wc++-compat \
-Wmissing-format-attribute], [strict_warn]) -Wmissing-format-attribute], [strict_warn])
ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long -Wno-variadic-macros \ ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long -Wno-variadic-macros \
-Wno-overlength-strings], [strict_warn]) -Wno-overlength-strings], [strict_warn])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment